Commits

Anonymous committed 046ebc6

repaired indent error

Comments (0)

Files changed (1)

djaboto/management/commands/checkmix.py

 
             # Update the database and link all media files
             fab_api.run('python manage.py syncdb --noinput --verbosity=0')
-                fab_api.local('python manage.py migrate --verbosity=0')
+            fab_api.local('python manage.py migrate --verbosity=0')
 
         DIR_BIN_NEW = os.path.join(DIR_PROJECT, 'bin')
         print DIR_BIN_NEW
     else:
         DIR_BIN_NEW = os.path.join(DIR_PROJECT, 'bin')
         print DIR_BIN_NEW
-        check_call(['mv', DIR_BIN_OLD, DIR_BIN_NEW])
+        check_call(['mv', '-p', DIR_BIN_OLD, DIR_BIN_NEW])
         raise Exception("Create a local database config file for the site at %s/%s_data" % (DIR_BIN_NEW, gethostname()))
 
     with fab_api.settings(