prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Delete space in front of colons
  Some text pieces coming from the server has a space in front of colons " :". Please check all text including email texts and delete the space in front of colons.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `create_db.py`
  Content:
  ```
  1 import argparse
  2 import getpass
  3 import re
  4 
  5 from flask_migrate import stamp
  6 
  7 from app.instance import current_app
  8 from app.models import db
  9 from populate_db import populate
  10 from tests.all.integration.auth_helper import create_super_admin
  11 
  12 
  13 def create_default_user(email, password):
  14     print("Your login is 'super_admin'.")
  15     if not email:
  16         ask_email = True
  17         while ask_email:
  18             email = input("Enter email for super_admin    : ")
  19             if not re.match(r'[^@]+@[^@]+\.[^@]+', email):
  20                 print('\nInvalid email address\n')
  21                 continue
  22             ask_email = False
  23     if not password:
  24         ask_password = True
  25         while ask_password:
  26             password = getpass.getpass("Enter password for super_admin : ")
  27             if len(password) < 8:
  28                 print('\nPassword should have minimum 8 characters')
  29                 continue
  30             repassword = getpass.getpass("Enter your password again to confirm : ")
  31             if password != repassword:
  32                 print('\nPassword did not match')
  33                 continue
  34             ask_password = False
  35     create_super_admin(email, password)
  36 
  37 
  38 if __name__ == "__main__":
  39     parser = argparse.ArgumentParser()
  40     parser.add_argument("email", nargs='?', help="The email for super_admin.", default='')
  41     parser.add_argument(
  42         "password", nargs='?', help="The password for super_admin.", default=''
  43     )
  44     parsed = parser.parse_args()
  45     with current_app.app_context():
  46         db.engine.execute('create extension if not exists citext')
  47         db.create_all()
  48         stamp()
  49         create_default_user(parsed.email, parsed.password)
  50         populate()
  51
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/create_db.py b/create_db.py
  --- a/create_db.py
  +++ b/create_db.py
  @@ -15,7 +15,7 @@
       if not email:
           ask_email = True
           while ask_email:
  -            email = input("Enter email for super_admin    : ")
  +            email = input("Enter email for super_admin: ")
               if not re.match(r'[^@]+@[^@]+\.[^@]+', email):
                   print('\nInvalid email address\n')
                   continue
  @@ -23,11 +23,11 @@
       if not password:
           ask_password = True
           while ask_password:
  -            password = getpass.getpass("Enter password for super_admin : ")
  +            password = getpass.getpass("Enter password for super_admin: ")
               if len(password) < 8:
                   print('\nPassword should have minimum 8 characters')
                   continue
  -            repassword = getpass.getpass("Enter your password again to confirm : ")
  +            repassword = getpass.getpass("Enter your password again to confirm: ")
               if password != repassword:
                   print('\nPassword did not match')
                   continue
  
verification_info: {"golden_diff": "diff --git a/create_db.py b/create_db.py\n--- a/create_db.py\n+++ b/create_db.py\n@@ -15,7 +15,7 @@\n     if not email:\n         ask_email = True\n         while ask_email:\n-            email = input(\"Enter email for super_admin    : \")\n+            email = input(\"Enter email for super_admin: \")\n             if not re.match(r'[^@]+@[^@]+\\.[^@]+', email):\n                 print('\\nInvalid email address\\n')\n                 continue\n@@ -23,11 +23,11 @@\n     if not password:\n         ask_password = True\n         while ask_password:\n-            password = getpass.getpass(\"Enter password for super_admin : \")\n+            password = getpass.getpass(\"Enter password for super_admin: \")\n             if len(password) < 8:\n                 print('\\nPassword should have minimum 8 characters')\n                 continue\n-            repassword = getpass.getpass(\"Enter your password again to confirm : \")\n+            repassword = getpass.getpass(\"Enter your password again to confirm: \")\n             if password != repassword:\n                 print('\\nPassword did not match')\n                 continue\n", "issue": "Delete space in front of colons\nSome text pieces coming from the server has a space in front of colons \" :\". Please check all text including email texts and delete the space in front of colons.\n", "before_files": [{"content": "import argparse\nimport getpass\nimport re\n\nfrom flask_migrate import stamp\n\nfrom app.instance import current_app\nfrom app.models import db\nfrom populate_db import populate\nfrom tests.all.integration.auth_helper import create_super_admin\n\n\ndef create_default_user(email, password):\n    print(\"Your login is 'super_admin'.\")\n    if not email:\n        ask_email = True\n        while ask_email:\n            email = input(\"Enter email for super_admin    : \")\n            if not re.match(r'[^@]+@[^@]+\\.[^@]+', email):\n                print('\\nInvalid email address\\n')\n                continue\n            ask_email = False\n    if not password:\n        ask_password = True\n        while ask_password:\n            password = getpass.getpass(\"Enter password for super_admin : \")\n            if len(password) < 8:\n                print('\\nPassword should have minimum 8 characters')\n                continue\n            repassword = getpass.getpass(\"Enter your password again to confirm : \")\n            if password != repassword:\n                print('\\nPassword did not match')\n                continue\n            ask_password = False\n    create_super_admin(email, password)\n\n\nif __name__ == \"__main__\":\n    parser = argparse.ArgumentParser()\n    parser.add_argument(\"email\", nargs='?', help=\"The email for super_admin.\", default='')\n    parser.add_argument(\n        \"password\", nargs='?', help=\"The password for super_admin.\", default=''\n    )\n    parsed = parser.parse_args()\n    with current_app.app_context():\n        db.engine.execute('create extension if not exists citext')\n        db.create_all()\n        stamp()\n        create_default_user(parsed.email, parsed.password)\n        populate()\n", "path": "create_db.py"}], "after_files": [{"content": "import argparse\nimport getpass\nimport re\n\nfrom flask_migrate import stamp\n\nfrom app.instance import current_app\nfrom app.models import db\nfrom populate_db import populate\nfrom tests.all.integration.auth_helper import create_super_admin\n\n\ndef create_default_user(email, password):\n    print(\"Your login is 'super_admin'.\")\n    if not email:\n        ask_email = True\n        while ask_email:\n            email = input(\"Enter email for super_admin: \")\n            if not re.match(r'[^@]+@[^@]+\\.[^@]+', email):\n                print('\\nInvalid email address\\n')\n                continue\n            ask_email = False\n    if not password:\n        ask_password = True\n        while ask_password:\n            password = getpass.getpass(\"Enter password for super_admin: \")\n            if len(password) < 8:\n                print('\\nPassword should have minimum 8 characters')\n                continue\n            repassword = getpass.getpass(\"Enter your password again to confirm: \")\n            if password != repassword:\n                print('\\nPassword did not match')\n                continue\n            ask_password = False\n    create_super_admin(email, password)\n\n\nif __name__ == \"__main__\":\n    parser = argparse.ArgumentParser()\n    parser.add_argument(\"email\", nargs='?', help=\"The email for super_admin.\", default='')\n    parser.add_argument(\n        \"password\", nargs='?', help=\"The password for super_admin.\", default=''\n    )\n    parsed = parser.parse_args()\n    with current_app.app_context():\n        db.engine.execute('create extension if not exists citext')\n        db.create_all()\n        stamp()\n        create_default_user(parsed.email, parsed.password)\n        populate()\n", "path": "create_db.py"}]}