diff options
Diffstat (limited to 'Demo/pdist/cmptree.py')
-rwxr-xr-x | Demo/pdist/cmptree.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/pdist/cmptree.py b/Demo/pdist/cmptree.py index fa06f5f..5031869 100755 --- a/Demo/pdist/cmptree.py +++ b/Demo/pdist/cmptree.py @@ -135,7 +135,7 @@ def compare(local, remote, mode): def sendfile(local, remote, name): try: remote.create(name) - except (IOError, os.error), msg: + except (IOError, os.error) as msg: print "cannot create:", msg return @@ -171,7 +171,7 @@ def recvfile(local, remote, name): def recvfile_real(local, remote, name): try: local.create(name) - except (IOError, os.error), msg: + except (IOError, os.error) as msg: print "cannot create:", msg return |