Do not double-check exceptions

This commit is contained in:
ZyX 2015-01-02 17:45:09 +03:00
parent 4eb6ec85ac
commit c01cc35663
1 changed files with 2 additions and 8 deletions

View File

@ -37,17 +37,11 @@ class Args(object):
@property
def config(self):
try:
return get_var_config('POWERLINE_CONFIG')
except IndexError:
return None
return get_var_config('POWERLINE_CONFIG')
@property
def theme_option(self):
try:
return get_var_config('POWERLINE_THEME_CONFIG')
except IndexError:
return None
return get_var_config('POWERLINE_THEME_CONFIG')
@property
def config_path(self):