Skip to content

Commit

Permalink
Call this v1.5.1.200424
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjarni R. Einarsson committed Apr 25, 2020
1 parent 3acf874 commit 27724eb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 17 deletions.
4 changes: 2 additions & 2 deletions doc/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Version history - highlights
============================

v1.5.????????
v1.5.1.200424
-------------
- This release (v?) is all about performance and efficiency!
- This merges release (v1.0.1): performance and efficiency!
- Create ping.pagekite fast-path in dedicated thread
- Make select loop timing and read sizes configurable, tweak defaults
- Remove 0.4.x flow-control, fix major bugs in current flow control code
Expand Down
2 changes: 1 addition & 1 deletion pagekite/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import time

PROTOVER = '0.8'
APPVER = '1.5.0.200327'
APPVER = '1.5.1.200424'
AUTHOR = 'Bjarni Runar Einarsson, http://bre.klaki.net/'
WWWHOME = 'https://pagekite.net/'
LICENSE_URL = 'http://www.gnu.org/licenses/agpl.html'
Expand Down
14 changes: 0 additions & 14 deletions pagekite/pk.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,20 +1712,6 @@ def CanSaveConfig(self, savefile=None, _raise=None):
return False
return savefile

def CanSaveConfig(self, savefile=None, _raise=None):
savefile = savefile or self.savefile or self.rcfile
try:
if os.path.exists(savefile):
open(savefile, 'r+').close()
else:
open(savefile, 'w').close() # FIXME: Python3.3 adds mode=x, use it!
os.remove(savefile)
except (IOError, OSError):
if _raise is not None:
raise _raise("Could not write to: %s" % savefile)
return False
return savefile

def SaveUserConfig(self, quiet=False):
self.savefile = self.savefile or self.rcfile
try:
Expand Down

0 comments on commit 27724eb

Please sign in to comment.