Rev 43: Fix syntax errors. in http://people.samba.org/bzr/jelmer/bzr-cia/trunk
Jelmer Vernooij
jelmer at samba.org
Wed Oct 15 17:09:36 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-cia/trunk
------------------------------------------------------------
revno: 43
revision-id: jelmer at samba.org-20081015160935-5emanse0bcol8gbl
parent: jelmer at samba.org-20081010140833-emso5966ifaour06
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Wed 2008-10-15 18:09:35 +0200
message:
Fix syntax errors.
=== modified file '__init__.py'
--- a/__init__.py 2008-10-10 14:08:33 +0000
+++ b/__init__.py 2008-10-15 16:09:35 +0000
@@ -184,6 +184,7 @@
for revid in os.listdir(cache_dir):
path = os.path.join(cache_dir, revid)
msg = open(path, 'r').read()
+ error = None
try:
server.hub.deliver(msg)
except xmlrpclib.ProtocolError, e:
@@ -195,7 +196,7 @@
if error is not None:
warning("Submitting %s failed: %s" % (revid, error))
else:
- os.path.remove(path)
+ os.remove(path)
class cmd_cia_submit(Command):
More information about the bazaar-commits
mailing list