def main(self, args): return main(*args.split(' '))
if not resp: sys.exit(1) if resp['ok']: if options.paste_id: print '%s -> %s' % (resp['url'], build_url_withrev((resp['url'],resp['nb_revision']))) else: print '%s' % (resp['url']) copy_url(resp['url']) save_last_snippet_id(resp['id']) else: print >> sys.stderr, 'An error occured: %s' % resp['reason'] if __name__ == '__main__': main() ########NEW FILE######## __FILENAME__ = profiles from glob import glob import os __doc__ = """ profiles documentation """ TITLE = """ %(title)s %(sep)s """