- rawdog 1.4
-Remove the broken option-compatibility code; the old syntax now isn't
-supported. This means changing "rawdog update write" to "rawdog
---update --write" when you invoke rawdog, if you're still using the old
-syntax.
+Fix option-compatibility code (reported by BAM).
Add HTTP basic authentication support (which means modifying feedparser
again).
elif o in ("-d", "--dir"):
statedir = a
+ # Support old option syntax.
+ for action in args:
+ if action in ("list", "update", "write"):
+ optlist.append(("--" + action, None))
+ else:
+ optlist.append(("--update-feed", action))
+
try:
os.chdir(statedir)
except OSError: