Message ID | 1468592469-10160-11-git-send-email-pboca@cloudbasesolutions.com |
---|---|
State | Superseded |
Delegated to: | Guru Shetty |
Headers | show |
diff --git a/python/ovs/util.py b/python/ovs/util.py index cb0574b..edcfe81 100644 --- a/python/ovs/util.py +++ b/python/ovs/util.py @@ -30,7 +30,7 @@ def abs_file_name(dir_, file_name): This differs from os.path.abspath() in that it will never change the meaning of a file name.""" - if file_name.startswith('/'): + if file_name.startswith('/') or file_name.find(':') > -1: return file_name else: if dir_ is None or dir_ == "":