projects
/
dbuscron
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2242166
)
Commands.clear() clears commands list
author
Konstantin Stepanov
<kstep@p-nut.info>
Fri, 10 Dec 2010 22:31:08 +0000
(
00:31
+0200)
committer
Konstantin Stepanov
<kstep@p-nut.info>
Fri, 10 Dec 2010 22:45:07 +0000
(
00:45
+0200)
dbuscron/command.py
patch
|
blob
|
history
diff --git
a/dbuscron/command.py
b/dbuscron/command.py
index
776d474
..
675309f
100644
(file)
--- a/
dbuscron/command.py
+++ b/
dbuscron/command.py
@@
-73,3
+73,6
@@
class Commands(object):
def add(self, matcher, command):
self.__commands[matcher] = command
+ def clear(self):
+ self.__commands = {}
+