2-spaces indent

parent 45462ad8
......@@ -35,19 +35,19 @@ from zc.buildout import UserError
from subprocess import check_call, CalledProcessError
try:
try:
from slapos.networkcachehelper import \
helper_upload_network_cached_from_directory, \
helper_download_network_cached_to_directory
except ImportError:
LIBNETWORKCACHE_ENABLED = False
else:
LIBNETWORKCACHE_ENABLED = True
except:
print 'There was problem while trying to import slapos.libnetworkcache:'\
'\n%s' % traceback.format_exc()
try:
from slapos.networkcachehelper import \
helper_upload_network_cached_from_directory, \
helper_download_network_cached_to_directory
except ImportError:
LIBNETWORKCACHE_ENABLED = False
print 'Networkcache forced to be disabled.'
else:
LIBNETWORKCACHE_ENABLED = True
except:
print 'There was problem while trying to import slapos.libnetworkcache:'\
'\n%s' % traceback.format_exc()
LIBNETWORKCACHE_ENABLED = False
print 'Networkcache forced to be disabled.'
GIT_DEFAULT_REMOTE_NAME = 'origin'
GIT_DEFAULT_BRANCH_NAME = 'master'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment