mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
expand tilde to users home for packagecachedir in .oscrc [#293675]
This commit is contained in:
parent
31953fbbe4
commit
30b82a050e
@ -225,6 +225,8 @@ def get_config():
|
||||
except:
|
||||
sys.exit('option %s requires an integer value' % i)
|
||||
|
||||
packagecachedir = os.path.expanduser(config['packagecachedir'])
|
||||
|
||||
# transform 'url1, url2, url3' form into a list
|
||||
if type(config['urllist']) == str:
|
||||
config['urllist'] = [ i.strip() for i in config['urllist'].split(',') ]
|
||||
|
Loading…
Reference in New Issue
Block a user