We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e012a16 commit fa7040dCopy full SHA for fa7040d
setup.py
@@ -4,6 +4,7 @@
4
import os
5
import glob
6
import configparser
7
+import re
8
9
conf = []
10
templates = []
@@ -39,6 +40,12 @@
39
40
41
ee_user = input("Enter your name: ")
42
ee_email = input("Enter your email: ")
43
+
44
+ while not re.match(r"^[A-Za-z0-9\.\+_-]+@[A-Za-z0-9\._-]+\.[a-zA-Z]*$",
45
+ ee_email):
46
+ print("EMail not Valid, Please enter again")
47
+ ee_email = input("Enter your email: ")
48
49
os.system("git config --global user.name {0}".format(ee_user))
50
os.system("git config --global user.email {0}".format(ee_email))
51
0 commit comments