1 |
commit: e3bee4b35df8cc63e84a54a512020ee895ae5dfe |
2 |
Author: dol-sen <brian.dolbec <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Apr 30 06:36:40 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Apr 30 06:36:40 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=e3bee4b3 |
7 |
|
8 |
Add the module and function to the error message for better tracking of the problem. |
9 |
|
10 |
--- |
11 |
layman/db.py | 3 ++- |
12 |
1 files changed, 2 insertions(+), 1 deletions(-) |
13 |
|
14 |
diff --git a/layman/db.py b/layman/db.py |
15 |
index aaba2b7..d078e46 100644 |
16 |
--- a/layman/db.py |
17 |
+++ b/layman/db.py |
18 |
@@ -212,7 +212,8 @@ class DB(DbBase): |
19 |
result = overlay.sync(self.config['storage'], quiet) |
20 |
if result: |
21 |
raise Exception('Syncing overlay "' + overlay_name + |
22 |
- '" returned status ' + str(result) + '!') |
23 |
+ '" returned status ' + str(result) + '!' + |
24 |
+ '\ndb.sync()') |
25 |
|
26 |
#=============================================================================== |
27 |
# |