diff options
-rw-r--r-- | framework/grouptools.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/grouptools.py b/framework/grouptools.py index f28241d3c..ce2e97c79 100644 --- a/framework/grouptools.py +++ b/framework/grouptools.py @@ -89,7 +89,7 @@ def splitname(group): def commonprefix(args): """Given a list of groups, returns the longest common leading component.""" if len(args) == 1: - return args + return args[0] elif any(e == '' for e in args): return '' |