diff options
author | Richard Jones <richard@mechanicalcat.net> | 2013-02-06 20:06:43 +1100 |
---|---|---|
committer | Richard Jones <richard@mechanicalcat.net> | 2013-02-06 20:06:43 +1100 |
commit | 343e515f1d0dafc4f88640a5ee219fadad437614 (patch) | |
tree | 14f5f67bf65dbac3541d3dd4ab5da022071753b1 | |
parent | e6b785159550896b817ef40e32cbf2651e253047 (diff) | |
download | decorator-343e515f1d0dafc4f88640a5ee219fadad437614.tar.gz |
agh static analysis
-rw-r--r-- | gae.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -37,12 +37,15 @@ def doit(host, secret, srcdir): file_path = os.path.abspath(os.path.join(srcdir, path)) if not file_path.startswith(srcdir): data = '' + presence = 'deleted' else: data = open(file_path).read() + presence = "present" except IOError, e: if e.errno == errno.ENOENT: # file has been deleted data = '' + presence = 'deleted' else: # some other problem with file. GAE will request transfer # again |