7 Commits

Author SHA1 Message Date
JoeLametta
09f6bf1b46 Add usage information to offsets.py script
Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
2021-05-26 10:35:58 +00:00
JoeLametta
bc31b98b32 Fix offsets.py output
Every line, except the last one, of the output was missing a double quote character at the end.

Additional changes:
- Specify parser to avoid BeautifulSoup warning
- Use single quotes only

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
2019-12-04 13:14:24 +00:00
JoeLametta
42019ce85f Port (misc) offsets script to Python 3
I've also changed the output format a bit.

Signed-off-by: JoeLametta <JoeLametta@users.noreply.github.com>
2019-11-26 18:48:01 +00:00
JoeLametta
fef7973113 Modernize code for easier Python 3 port
- Replace print statement with function call
- Replace except ..., ...: syntax with except ... as ...:
- Simplify obsolete try ... except ... code block
- Replace some unicode calls with u-prefixed strings
- Do not use `len(SEQUENCE)` to determine if a sequence is empty
- Replace dictionary creation
- Drop support for GObject static bindings
2019-02-02 19:19:49 +01:00
JoeLametta
75a3d4bce1 Fix two PEP8 errors 2018-01-04 20:58:00 +01:00
JoeLametta
b6fb7e8a86 Solve all flake8 warnings (#163)
Whipper is now fully PEP8 compliant.
Revised version which includes all the changes suggested by Freso.
2017-05-31 23:09:36 +02:00
Thomas Vander Stichele
77d77013f1 * misc/offsets.py (added):
Add a script to calculate list of offsets based on AccurateRip's
	  online database, according to popularity.
2010-03-14 12:51:03 +00:00