search for: arch_re

Displaying 3 results from an estimated 3 matches for "arch_re".

Did you mean: arch_
2016 Mar 24
1
Malformed XML if LIBGUESTFS_HV is defined.
I was going to post this as a patch, but I realize the patch is just working around an actual bug in the libvirt backend [not in libvirt]. Anyway, posting it here so we don't forget about it. Rich.
2016 May 04
9
[PATCH 0/8] python: PEP 8 fixes
Hi, this series cleans up the Python sources, either static or generated, including also tests, to make them PEP 8 compliant; see https://www.python.org/dev/peps/pep-0008/ and tools like pep8. Almost all the issues reported by pep8 are fixed, reducing the issues from 3818 to 7. The changes should have no effect on the actual code, while it will help Python users with consistency with other
2016 Feb 22
3
[PATCH 1/3] python: tests: refactor to use unittest's discovery
...ckend () + # Match both "backend" and "backend:etc" + if not (backend == wanted or backend.startswith (wanted + ":")): + return unittest.skip ("the current backend is not %s" % wanted) + return lambda func: func + + +def skipUnlessArchMatches (arch_re): + """ + Skip the current class/method if the current architecture does not match + the regexp specified. + """ + import platform + import re + machine = platform.machine () + rex = re.compile (arch_re) + if not rex.match (machine): +...