Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tempus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
karaboDevices
tempus
Commits
a2caebea
Commit
a2caebea
authored
3 months ago
by
Andrea Parenti
Committed by
Jonathan Correa Magdalena
3 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused function
parent
5acc2575
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!2
Draft: Feat/p8003
,
!1
First version
Pipeline
#162797
passed
3 months ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/tempus/Tempus.py
+0
-11
0 additions, 11 deletions
src/tempus/Tempus.py
with
0 additions
and
11 deletions
src/tempus/Tempus.py
+
0
−
11
View file @
a2caebea
...
...
@@ -124,17 +124,6 @@ class Tempus(Device):
last_time
=
actual_time
await
sleep
(
1
)
def
clean_stderr
(
self
,
msg
):
"""
Strip harmless lines from stderr
"""
clean_msg
=
""
for
line
in
msg
.
splitlines
():
if
"
X11 forwarding request failed
"
in
line
:
continue
# harmless
elif
"
WARNING:root:Didn
'
t read back
"
in
line
:
continue
# harmless
clean_msg
+=
line
+
'
\n
'
return
clean_msg
controllerIp
=
String
(
displayedName
=
"
Controller IP
"
,
defaultValue
=
"
169.254.1.5
"
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment