Merge branch 'master' of https://code.grnet.gr/git/pithos into id
[pithos] / other / migrate-users
similarity index 98%
rename from tools/migrate-users
rename to other/migrate-users
index b01335d..cdf1053 100755 (executable)
 # interpreted as representing official policies, either expressed
 # or implied, of GRNET S.A.
 
-from lib.migrate import Migration
-
 from sqlalchemy import Table
 from sqlalchemy.sql import select
 
 from pithos.im.models import User
 
+from migrate import Migration
+
 import base64
 
 class UserMigration(Migration):
@@ -102,4 +102,4 @@ class UserMigration(Migration):
 if __name__ == "__main__":
     db = ''
     m = UserMigration(db)
-    m.execute()
\ No newline at end of file
+    m.execute()