Skip to content

Commit

Permalink
Detecting removeFiles errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bakwc committed Apr 6, 2017
1 parent 7ed2aa4 commit b7ed04e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pysyncobj/revision.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REVISION = 'b7edeca55fe43b4244d99f1cae7ba5b7241c2e16'
REVISION = '7ed2aa47dda1df2a1dc782031f3ba7f95d25a759'
4 changes: 1 addition & 3 deletions test_syncobj.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,10 +456,8 @@ def test_checkCallbacksSimple():

def removeFiles(files):
for f in (files):
try:
if os.path.isfile(f):
os.remove(f)
except:
pass

def checkDumpToFile(useFork):
removeFiles(['dump1.bin', 'dump2.bin'])
Expand Down

0 comments on commit b7ed04e

Please sign in to comment.