Oops, need to exit with exitcode 1 in both cases.
authorMagnus Hagander <magnus@hagander.net>
Thu, 22 Jan 2009 16:08:04 +0000 (17:08 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 22 Jan 2009 16:08:04 +0000 (17:08 +0100)
pggit.py

index 548ee16f2dbd1f51924c59bb5bfa58aa8d945c1f..de1c95843170f8156285f204a09c3779f987a9c1 100755 (executable)
--- a/pggit.py
+++ b/pggit.py
@@ -117,6 +117,7 @@ class PgGit:
                        except Exception, e:
                                pass
                        sys.stderr.write("%s\n" % e)
+                       sys.exit(1)
                except Exception, e:
                        try:
                                self.logger.log(e)