Login | Register
My pages Projects Community openCollabNet

Discussions > Commits > svn commit: r143 - trunk/repoguard/src/repoguard/core/transaction.py

repoguard
Discussion topic

Back to topic list

svn commit: r143 - trunk/repoguard/src/repoguard/core/transaction.py

Author schlauch
Full name Tobias Schlauch
Date 2012-10-08 09:55:50 PDT
Message Author: schlauch
Date: 2012-10-08 09:55:49-0700
New Revision: 143

Modified:
   trunk/repoguard/src/​repoguard/core/trans​action.py

Log:
Fixes ISSUE #48:
- Corrected pattern to detect zero transactions.

Modified: trunk/repoguard/src/​repoguard/core/trans​action.py
Url: http://repoguard.tig​ris.org/source/brows​e/repoguard/trunk/re​poguard/src/repoguar​d/core/transaction.p​y?view=diff&path​rev=143&r1=142​&r2=143
====================​====================​====================​==================
--- trunk/repoguard/src/​repoguard/core/trans​action.py (original)
+++ trunk/repoguard/src/​repoguard/core/trans​action.py 2012-10-08 09:55:49-0700
@@ -67,7 +67,7 @@
         try:
             output = process.execute(command)
         except process.ProcessException, error:
- if "E160006: Transaction '(null)'" in error.output: # Nothing bad happened we just have an empty repository
+ if "Transaction '(null)'" in error.output: # Nothing bad happened we just have an empty repository
                 output = ""
             else:
                 raise

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

svn commit: r143 - trunk/repoguard/src/repoguard/core/transaction.py schlauch Tobias Schlauch 2012-10-08 09:55:50 PDT
Messages per page: