Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.recipe.build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.recipe.build
Commits
5de2fb4b
Commit
5de2fb4b
authored
Sep 05, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2-spaces indent
parent
45462ad8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
slapos/recipe/gitclone.py
slapos/recipe/gitclone.py
+12
-12
No files found.
slapos/recipe/gitclone.py
View file @
5de2fb4b
...
@@ -35,19 +35,19 @@ from zc.buildout import UserError
...
@@ -35,19 +35,19 @@ from zc.buildout import UserError
from
subprocess
import
check_call
,
CalledProcessError
from
subprocess
import
check_call
,
CalledProcessError
try
:
try
:
try
:
try
:
from
slapos.networkcachehelper
import
\
from
slapos.networkcachehelper
import
\
helper_upload_network_cached_from_directory
,
\
helper_upload_network_cached_from_directory
,
\
helper_download_network_cached_to_directory
helper_download_network_cached_to_directory
except
ImportError
:
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
()
LIBNETWORKCACHE_ENABLED
=
False
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_REMOTE_NAME
=
'origin'
GIT_DEFAULT_BRANCH_NAME
=
'master'
GIT_DEFAULT_BRANCH_NAME
=
'master'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment