| changeset 202: |
fea8546ab3c3 |
| parent 201: | 6089e2508f20 |
| child 203: | 3c9d52ca4adf |
| author: |
Jason Moiron <jmoiron@jmoiron.net> |
| date: |
Sat Feb 12 00:09:00 2011 -0500 (15 months ago) |
| files: |
saudade/stream/management/commands/streamplugins.py |
| description: |
update to streamplugins management command |
1--- a/saudade/stream/management/commands/streamplugins.py Sat Feb 12 00:02:56 2011 -0500
2+++ b/saudade/stream/management/commands/streamplugins.py Sat Feb 12 00:09:00 2011 -0500
3@@ -41,6 +41,7 @@
4
5 def handle(self, *args, **kwargs):
6 force = kwargs['force']
7+ force_all = kwargs['force_all']
8 reset = kwargs['reset']
9 info = kwargs['info']
10 if reset:
11@@ -56,8 +57,8 @@
12 if not cls:
13 print "Unable to find updater plugin for type %s" % plug.tag
14 continue
15- if force:
16- cls(plug).force()
17+ if force or force_all:
18+ cls(plug).force(all=force_all)
19 else:
20 cls(plug).update()
21