Browse Source

corrected exception trace to stderr

master
Michael Murtaugh 3 years ago
parent
commit
89132b0a0c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/mediawiki.py

+ 1
- 1
scripts/mediawiki.py View File

@@ -436,7 +436,7 @@ def recentfiles (args):
436 436
                     break
437 437
             
438 438
             except APIError as e:
439
-                print ("Error {0}, skipping".format(e))
439
+                print ("Error {0}, skipping".format(e) ,file=sys.stderr)
440 440
 
441 441
         if args.limit and count == args.limit:
442 442
             break

Loading…
Cancel
Save