Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
intranet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nounous-archives
intranet
Commits
616da1ef
Commit
616da1ef
authored
Oct 12, 2017
by
Remi Oudin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mauvaise syntaxe pour le rattrapage d'erreurs.
parent
a9f3ea9e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
printer/models.py
printer/models.py
+1
-1
No files found.
printer/models.py
View file @
616da1ef
...
...
@@ -32,7 +32,7 @@ class Printer(models.Model):
supply
.
update_from_snmp
()
self
.
refresh_alerts
()
# Since the number of alert is changing we refresh instead of update
self
.
update_from_snmp
()
except
SNMPException
(
err
)
:
except
SNMPException
as
err
:
print
err
def
refresh_paper_trays
(
self
):
for
paper_tray
in
self
.
paper_trays
.
all
():
...
...
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