Commit 4714b860 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Merge pull request #397 from rntz/master

tiny misc improvements
parents d1c5d853 18e1f7da
...@@ -66,8 +66,6 @@ class C3(object): ...@@ -66,8 +66,6 @@ class C3(object):
print __module__ print __module__
print C3.__module__ print C3.__module__
"""
# not supported (del)
print print
class C4(object): class C4(object):
print __module__ print __module__
...@@ -78,7 +76,6 @@ class C4(object): ...@@ -78,7 +76,6 @@ class C4(object):
except NameError: except NameError:
pass pass
print C4.__module__ print C4.__module__
"""
class C5(object): class C5(object):
try: try:
......
...@@ -45,7 +45,7 @@ def find_rev(svn_id, fetch_if_necessary=True): ...@@ -45,7 +45,7 @@ def find_rev(svn_id, fetch_if_necessary=True):
if __name__ == "__main__": if __name__ == "__main__":
repo, svn_rev, patch_dir = sys.argv[1:] repo, svn_rev, patch_dir = sys.argv[1:]
svn_rev = int(svn_rev) svn_rev = int(svn_rev)
assert os.path.isdir(repo) assert os.path.isdir(repo), "Expected to find repo directory at %s" % (repo,)
commit, rid = find_rev(svn_rev) commit, rid = find_rev(svn_rev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment