euscan/handlers: rework handlers, better remote-id + watch support

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
Corentin Chary
2012-08-03 21:50:54 +02:00
parent d262b935e6
commit 8d91237988
20 changed files with 518 additions and 509 deletions

View File

@@ -298,11 +298,16 @@ def main():
exit_helper(1)
except Exception as err:
import traceback
print ('-'*60)
traceback.print_exc(file=sys.stderr)
print ('-'*60)
output.eerror('%s: %s' % (query, str(err)))
exit_helper(1)
if not ret and not CONFIG['quiet']:
output.ewarn(
output.einfo(
"Didn't find any new version, check package's homepage " +
"for more informations"
)