Remove usless import and exception variable
This commit is contained in:
3
setup.py
3
setup.py
@@ -1,6 +1,5 @@
|
|||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
import sys
|
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
import configparser
|
import configparser
|
||||||
@@ -32,7 +31,7 @@ config.read(os.path.expanduser("~")+'/.gitconfig')
|
|||||||
try:
|
try:
|
||||||
wo_user = config['user']['name']
|
wo_user = config['user']['name']
|
||||||
wo_email = config['user']['email']
|
wo_email = config['user']['email']
|
||||||
except Exception as e:
|
except Exception:
|
||||||
print("WordOps (wo) require an username & and an email "
|
print("WordOps (wo) require an username & and an email "
|
||||||
"address to configure Git (used to save server configurations)")
|
"address to configure Git (used to save server configurations)")
|
||||||
print("Your informations will ONLY be stored locally")
|
print("Your informations will ONLY be stored locally")
|
||||||
|
|||||||
Reference in New Issue
Block a user