summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-08-13 14:18:59 +0200
committerBernhard Posselt <nukeawhale@gmail.com>2013-08-13 14:18:59 +0200
commit00c1eb127bc742ed823d520edc78954c0407c4d8 (patch)
treee25b146ee6681ee4678bf046b5e47348107ffbd6 /bin
parentc4bba50e55a93d4dad219d2f9e9bc04bcf770eac (diff)
respect 80 line limit
Diffstat (limited to 'bin')
-rw-r--r--bin/updater.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/bin/updater.py b/bin/updater.py
index bcf9f4f79..34ce1bfe0 100644
--- a/bin/updater.py
+++ b/bin/updater.py
@@ -79,7 +79,8 @@ class UpdateThread(threading.Thread):
class Updater:
- def __init__(self, base_url, thread_num, interval, user, password, timeout, runonce):
+ def __init__(self, base_url, thread_num, interval, user, password, timeout,
+ runonce):
self.thread_num = thread_num
self.interval = interval
self.base_url = base_url
@@ -132,13 +133,15 @@ class Updater:
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--runonce',
- help='Run update only once, DO NOT use this in a cron job, only recommended for testing', action='store_true')
+ help='Run update only once, DO NOT use this in a cron job, only \
+ recommended for testing', action='store_true')
parser.add_argument('--threads',
help='How many feeds should be fetched in paralell, defaults to 10',
default=10,
type=int)
parser.add_argument('--timeout',
- help='Maximum number of seconds for updating a feed, defaults to 5 minutes',
+ help='Maximum number of seconds for updating a feed, \
+ defaults to 5 minutes',
default=5*60,
type=int)
parser.add_argument('--interval',