From c3c5e5a3975cb8fb4d9181c052c11eb19f06412a Mon Sep 17 00:00:00 2001 From: Jay Payne Date: Thu, 27 Jan 2011 20:23:14 +0000 Subject: [PATCH] Commit out the both calls --- bin/swift-auth-to-swauth | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/swift-auth-to-swauth b/bin/swift-auth-to-swauth index 1b2d80eda0..93cb4fe199 100755 --- a/bin/swift-auth-to-swauth +++ b/bin/swift-auth-to-swauth @@ -26,7 +26,8 @@ if __name__ == '__main__': if len(argv) != 4 or argv[1] != '-K': exit('Syntax: %s -K ' % argv[0]) _junk, _junk, super_admin_key, auth_db = argv - call(['swauth-prep', '-K', super_admin_key]) + # This version will not attempt to prep swauth + # call(['swauth-prep', '-K', super_admin_key]) conn = sqlite3.connect(auth_db) for account, cfaccount, user, password, admin, reseller_admin in \ conn.execute('SELECT account, cfaccount, user, password, admin, ' @@ -39,7 +40,8 @@ if __name__ == '__main__': cmd.append('-r') cmd.extend([account, user, password]) print ' '.join(cmd) - call(cmd) + # For this version, the script will only print out the commands + # call(cmd) print '----------------------------------------------------------------' print ' Assuming the above worked perfectly, you should copy and paste ' print ' those lines into your ~/bin/recreateaccounts script.'