forked from pool/python-parted
from suse): * python-parted-featurestest.patch - Add patch python-parted-parted-binary.patch to run parted full path as user does not see sbin binaries - Add patch no-last-flag-check.patch from debian - Add patch python-parted-unittests.patch from ubuntu to fix tests - Implement singlespec version for python3 - Refresh patch pyparted-3.10.patch to work with python3 - Enable testsuite to validate it somehow OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parted?expand=0&rev=8
13 lines
593 B
Diff
13 lines
593 B
Diff
diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-pyparted-3.10/src/parted/disk.py ./src/parted/disk.py
|
|
--- ../orig-pyparted-3.10/src/parted/disk.py 2013-04-09 17:31:40.000000000 +0200
|
|
+++ ./src/parted/disk.py 2014-02-09 09:49:31.693576602 +0100
|
|
@@ -486,4 +486,7 @@
|
|
if not __flag:
|
|
__readFlags = False
|
|
else:
|
|
- diskFlag[__flag] = _ped.disk_flag_get_name(__flag)
|
|
+ try:
|
|
+ diskFlag[__flag] = _ped.disk_flag_get_name(__flag)
|
|
+ except:
|
|
+ print("Bad disk flag: {}".format(__flag))
|