Little glitches in code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pastebinit |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I didn't wanted to make a bug for each little glitch cause else I would open many bugs for nothing. So here are some tips :
1. Make test.sh executable, it helps when using ls (If you have color support) to know which files are executables, and it also allows you to do just "./test.sh"
2. Rename pb.daviey.com to pb.daviey.com.conf so that it follows the convention other files use.
Now in pastebinit itself
1. The sys.exit() instruction line 346 is useless, the code will never reach it (There's a raise just before...)
2. Line 165 and following: You may want to use triple-quotes instead of print, print... + "Reads on stdin for input or takes a filename as first parameter" is not translatable (and it's one of the most important strings).
Changed in pastebinit: | |
status: | Fix Committed → Fix Released |
Thanks for the bug report. Next release of pastebinit will be a major rewrite but I'll check that these are fixed.