else: env.profile.file = options.profile if envfile and not os.path.isfile(envfile): comment = 'environment file missing\ngenerate it using "exabgp -fi > %s"' % envfile else: comment = '' if options.full_ini: for line in environment.iter_ini(): print line sys.exit(0) if options.full_env: print for line in environment.iter_env(): print line sys.exit(0) if options.diff_ini: for line in environment.iter_ini(True): print line sys.exit(0) if options.diff_env: for line in environment.iter_env(True): print line sys.exit(0) if options.once: env.tcp.once = True