if we were given a reject function, send the reject message,
otherwise send it to stderr.
"""
+ print >> sys.stderr, message
if self.wrapped_reject:
self.wrapped_reject(message)
- else:
- print >> sys.stderr, message
def __del__(self):
"""
@return True if the deb is valid and contents were imported
"""
+ result = False
rejected = not self.valid_deb()
if not rejected:
self.__unpack()
- result = False
cwd = os.getcwd()
if not rejected and self.tmpdir: