Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
1d02045f
Commit
1d02045f
authored
Jul 17, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
30581be1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
wcfs/__init__.py
wcfs/__init__.py
+6
-2
No files found.
wcfs/__init__.py
View file @
1d02045f
...
@@ -33,7 +33,9 @@ $WENDELIN_CORE_WCFS_AUTOSTART
...
@@ -33,7 +33,9 @@ $WENDELIN_CORE_WCFS_AUTOSTART
$WENDELIN_CORE_WCFS_OPTIONS
$WENDELIN_CORE_WCFS_OPTIONS
"""
"""
import
os
,
sys
,
hashlib
,
tempfile
,
subprocess
,
time
,
re
from
__future__
import
print_function
,
absolute_import
import
os
,
sys
,
hashlib
,
tempfile
,
subprocess
,
time
,
re
,
traceback
import
logging
as
log
import
logging
as
log
from
os.path
import
dirname
from
os.path
import
dirname
from
errno
import
ENOENT
,
EEXIST
from
errno
import
ENOENT
,
EEXIST
...
@@ -171,7 +173,9 @@ def _pinner(wconn, ctx):
...
@@ -171,7 +173,9 @@ def _pinner(wconn, ctx):
if
exc
is
None
:
if
exc
is
None
:
return
return
log
.
critical
(
'pinner failed:'
,
exc_info
=
1
)
log
.
critical
(
'pinner failed:'
,
exc_info
=
1
)
print
(
'CRITICAL: pinned failed:'
,
file
=
sys
.
stderr
)
traceback
.
print_exc
(
file
=
sys
.
stderr
)
print
(
'
\
n
CRITICAL: wcfs server will likely kill us soon.'
,
file
=
sys
.
stderr
)
defer
(
_
)
defer
(
_
)
def
trace
(
msg
):
def
trace
(
msg
):
...
...
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