mirror of https://github.com/silx-kit/pyFAI.git
minor improvements
This commit is contained in:
parent
4a4aa9bc6d
commit
8226ffff94
|
@ -225,6 +225,7 @@ if __name__ == "__main__":
|
|||
else:
|
||||
logger.error("Script %s not found", script)
|
||||
else:
|
||||
logging.info("Running IPython by default")
|
||||
logger.info("Patch the sys.argv: %s", sys.argv)
|
||||
sys.path.insert(2, "")
|
||||
try:
|
||||
|
|
|
@ -42,7 +42,7 @@ then
|
|||
if [ -z $debian_version ]
|
||||
then
|
||||
#we are probably on a ubuntu platform
|
||||
debian_version=$(cat /etc/debian_version | cut -d/ -f1)
|
||||
debian_version=$(< /etc/debian_version cut -d/ -f1)
|
||||
case $debian_version in
|
||||
squeeze)
|
||||
debian_version=6
|
||||
|
|
|
@ -276,6 +276,7 @@ def report_rst(cov, package, version="0.0.0", base="", inject_xml=None):
|
|||
else:
|
||||
fn = inject_xml
|
||||
from lxml import etree
|
||||
|
||||
xml = etree.parse(fn)
|
||||
classes = xml.xpath("//class")
|
||||
|
||||
|
|
Loading…
Reference in New Issue