Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

add returnlist to wrapper, too

  • Loading branch information...
1 parent f073652 commit 59e698bc6608e4fc4cc2bf756996c44dd9f4b3af @eddyp eddyp committed
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/
6 lib/
@@ -240,11 +240,13 @@ def user_log_dir(appname=None, appauthor=None, version=None, opinion=True):
class AppDirs(object):
"""Convenience wrapper for getting application dirs."""
- def __init__(self, appname, appauthor=None, version=None, roaming=False):
+ def __init__(self, appname, appauthor=None, version=None,
+ roaming=False, returnlist=False):
self.appname = appname
self.appauthor = appauthor
self.version = version
self.roaming = roaming
+ self.returnlist = returnlist
def user_data_dir(self):
return user_data_dir(self.appname, self.appauthor,
@@ -252,7 +254,7 @@ def user_data_dir(self):
def site_data_dir(self):
return site_data_dir(self.appname, self.appauthor,
- version=self.version)
+ version=self.version, returnlist=self.returnlist)
def user_cache_dir(self):
return user_cache_dir(self.appname, self.appauthor,

0 comments on commit 59e698b

Please sign in to comment.
Something went wrong with that request. Please try again.