aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGES
diff options
context:
space:
mode:
authorBogdano Arendartchuk <bogdano@mandriva.org>2007-11-14 22:27:18 +0000
committerBogdano Arendartchuk <bogdano@mandriva.org>2007-11-14 22:27:18 +0000
commitfa6fb5c9da640532db63db2aa9111c523cb35fe4 (patch)
tree2d8ef6fa4612960b3f19c467b3e0a6c5e100fa9c /CHANGES
parenta927524c43d391579a17b3630606f350f44acf3c (diff)
downloadmgarepo-fa6fb5c9da640532db63db2aa9111c523cb35fe4.tar
mgarepo-fa6fb5c9da640532db63db2aa9111c523cb35fe4.tar.gz
mgarepo-fa6fb5c9da640532db63db2aa9111c523cb35fe4.tar.bz2
mgarepo-fa6fb5c9da640532db63db2aa9111c523cb35fe4.tar.xz
mgarepo-fa6fb5c9da640532db63db2aa9111c523cb35fe4.zip
Don't say "invalid command CMD" when this is not the real error
Sometimes when a module used by repsys is missing, the given error message is "invalid command CMD", instead of a exception trace showing that there's something wrong with with the repsys setup. This change fixes this issue by counting the number of frames in the exception trace. When the command module is not available there will be only one frame (being the function that is trying to import the command's module), otherwise there will be more frames (because the found module will already be present in the trace). This fix is probably valid for smart too.
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES2
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 7eb334b..03e363c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,8 @@
- make 'repsys submit' without package name or revision number work again
- the fix for the unreleased commits problem in the previous release was
wrong, really fixed it
+- don't give the wrong message "invalid command 'CMD'" when this is not
+ the case
* 1.6.19
- added complement for SILENT: CLOG, which hides everything that does not