From 56f3c31d2a2fab58e82082b1736dc844a087b4f4 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 1 Sep 2011 09:10:36 +0400 Subject: [PATCH] Change format of --filter option. --- pym/cl_share_cmd.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pym/cl_share_cmd.py b/pym/cl_share_cmd.py index 457c6fe..664a246 100644 --- a/pym/cl_share_cmd.py +++ b/pym/cl_share_cmd.py @@ -49,10 +49,8 @@ class share_cmd(color_print, _error): optCmd = optObj.filter if ',' in optCmd: varsNames = optCmd.split(",") - elif '*' in optCmd: - varsFilter = optCmd.replace("*", ".*") else: - varsNames.append(optCmd) + varsFilter = optCmd if optObj.xml: format = "xml" try: