Updated package data, pylint fix.

This commit is contained in:
Michael Lazar
2015-12-15 00:15:20 -08:00
parent 49e2d1aa4f
commit 52760e4000
3 changed files with 7 additions and 7 deletions

View File

@@ -7,11 +7,11 @@ import shutil
import argparse
from functools import partial
from six.moves import configparser, input
import six
from six.moves import configparser
from . import docs, __version__
PACKAGE = os.path.dirname(__file__)
HOME = os.path.expanduser('~')
TEMPLATE = os.path.join(PACKAGE, 'templates')
@@ -65,7 +65,8 @@ def copy_default_config(filename=CONFIG):
if os.path.exists(filename):
try:
ch = input('File %s already exists, overwrite? y/[n]):' % filename)
ch = six.moves.input(
'File %s already exists, overwrite? y/[n]):' % filename)
if ch not in ('Y', 'y'):
return
except KeyboardInterrupt: