Package: petit
Version: 1.0.3-1
Severity: normal
% petit --hash ~log/syslog
Traceback (most recent call last):
File "/usr/bin/petit", line 348, in <module>
get_options(sys.argv[1:])
File "/usr/bin/petit", line 135, in get_options
hash(filename)
File "/usr/bin/petit", line 164, in hash
log = Log(args)
File "/usr/share/petit/crunchtools.py", line 620, in __init__
buffer = self.open_file(filename)
File "/usr/share/petit/crunchtools.py", line 649, in open_file
f = open(filename)
IOError: [Errno 13] Permission denied: '/var/log/syslog'
According exception handling without displaying the
traceback to the user would be nice. :)
regards,
-mika-
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]