1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 10:51:13 +01:00

Merge pull request #30 from bobbyb-arm/fixes

Fixes
This commit is contained in:
setrofim 2015-06-28 11:42:54 +01:00
commit c09972e7a8
2 changed files with 3 additions and 4 deletions

View File

@ -311,7 +311,7 @@ class ExtensionLoader(object):
self.logger.debug('Loading from paths.')
for path in paths:
self.logger.debug('Checking path %s', path)
for root, _, files in os.walk(path):
for root, _, files in os.walk(path, followlinks=True):
should_skip = False
for igpath in ignore_paths:
if root.startswith(igpath):

View File

@ -14,7 +14,7 @@
#
import os
from wlauto.utils.terminalsize import get_terminal_size
INDENTATION_FROM_TITLE = 4
@ -58,8 +58,7 @@ class DescriptionListFormatter(TextFormatter):
def get_text_width(self):
if not self._text_width:
_, width = os.popen('stty size', 'r').read().split()
self._text_width = int(width)
self._text_width, _ = get_terminal_size()
return self._text_width
def set_text_width(self, value):