Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
bliss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
489
Issues
489
List
Boards
Labels
Service Desk
Milestones
Jira
Jira
Merge Requests
129
Merge Requests
129
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Bliss
bliss
Commits
b160436c
Commit
b160436c
authored
Dec 04, 2014
by
Sebastien Petitdemange
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clear method in Queue setting
parent
6b8a4a3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
bliss/config/settings.py
bliss/config/settings.py
+4
-0
No files found.
bliss/config/settings.py
View file @
b160436c
...
...
@@ -227,6 +227,10 @@ class QueueSetting(object):
cnx
=
self
.
_cnx
()
cnx
.
rpush
(
self
.
_name
,
value
)
def
clear
(
self
):
cnx
=
self
.
_cnx
()
cnx
.
delete
(
self
.
_name
)
@
write_decorator
def
prepend
(
self
,
value
)
:
cnx
=
self
.
_cnx
()
...
...
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