def __call__(self): from pybtex.exceptions import PybtexError try: self.main() except PybtexError as error: errors.print_error(error) sys.exit(1)
def __call__(self): from pybtex.exceptions import PybtexError try: self.main() except PybtexError, error: errors.print_error(error) sys.exit(1)