Browse code

Merge "Add argparse for RHEL6"

Jenkins authored on 2014/07/21 09:58:39
Showing 1 changed files
... ...
@@ -530,6 +530,12 @@ function echo_nolog {
530 530
     echo $@ >&3
531 531
 }
532 532
 
533
+if [[ is_fedora && $DISTRO =~ (rhel) ]]; then
534
+    # poor old python2.6 doesn't have argparse by default, which
535
+    # outfilter.py uses
536
+    is_package_installed python-argparse || install_package python-argparse
537
+fi
538
+
533 539
 # Set up logging for ``stack.sh``
534 540
 # Set ``LOGFILE`` to turn on logging
535 541
 # Append '.xxxxxxxx' to the given name to maintain history