import tempfile
from invirt.authz import mech as authz
+from invirt import builder
from invirt.config import structs as config
k5login = os.fdopen(k5login_fd, 'r+')
print >>k5login, '\n'.join(all_devs)
+ os.rename(k5login_name, os.path.join(builder._REPO_DIR, '.k5login'))
+
if __name__ == '__main__':
main()