Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
noc
tower
Commits
1d60362e
Commit
1d60362e
authored
Aug 31, 2021
by
EKbfh
🐼
Browse files
Merge branch 'master' of code.getnoc.com:noc/tower
parents
cf9063f9
2f47adbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
1d60362e
...
...
@@ -83,8 +83,7 @@ def main():
"Operating System :: Unix"
,
"Environment :: Console"
,
"Environment :: Web Environment"
"Programming Language :: Python :: 2.6"
,
"Programming Language :: Python :: 2.7"
"Programming Language :: Python :: 3.8"
],
**
kwargs
)
...
...
tower/models/joblog.py
View file @
1d60362e
...
...
@@ -40,7 +40,7 @@ class JobLog(Model):
def
append_log
(
self
,
data
):
with
open
(
self
.
log_path
,
"a"
)
as
f
:
f
.
write
(
str
(
data
))
f
.
write
(
data
.
decode
(
"utf-8"
))
def
get_log
(
self
):
path
=
self
.
log_path
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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