Browse Source

Better Message for git user.name and user.email

bugfixes
Mitesh Shah 10 years ago
parent
commit
b82929f0fd
  1. 4
      ee/core/variables.py
  2. 4
      setup.py

4
ee/core/variables.py

@ -44,8 +44,8 @@ class EEVariables():
ee_user = config['user']['name'] ee_user = config['user']['name']
ee_email = config['user']['email'] ee_email = config['user']['email']
except Exception as e: except Exception as e:
ee_user = input("Enter username for Git:") ee_user = input("Enter your name: ")
ee_email = input("Enter email for Git:") ee_email = input("Enter your email: ")
# Get System RAM and SWAP details # Get System RAM and SWAP details
ee_ram = psutil.virtual_memory().total / (1024 * 1024) ee_ram = psutil.virtual_memory().total / (1024 * 1024)

4
setup.py

@ -37,8 +37,8 @@ except Exception as e:
"upcoming version") "upcoming version")
print("EasyEngine (ee) will NEVER send your information across") print("EasyEngine (ee) will NEVER send your information across")
ee_user = input("Enter username for Git:") ee_user = input("Enter your name: ")
ee_email = input("Enter email for Git:") ee_email = input("Enter your email: ")
os.system("git config --global user.name {0}".format(ee_user)) os.system("git config --global user.name {0}".format(ee_user))
os.system("git config --global user.email {0}".format(ee_email)) os.system("git config --global user.email {0}".format(ee_email))

Loading…
Cancel
Save