Permalink
Browse files

do without extra variable in pathlist processing

  • Loading branch information...
1 parent f0d22e0 commit fb3f024df39ac24b0e4534ec3084ed1406f3fec2 @eddyp eddyp committed Feb 25, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/appdirs.py
View
3 lib/appdirs.py
@@ -125,8 +125,7 @@ def site_data_dir(appname=None, appauthor=None, version=None, returnlist=False):
if appname:
if version:
appname = os.path.join(appname, version)
- plist = [ os.sep.join([x, appname]) for x in pathlist ]
- pathlist = plist
+ pathlist = [ os.sep.join([x, appname]) for x in pathlist ]
if returnlist:
path = os.pathsep.join(pathlist)

0 comments on commit fb3f024

Please sign in to comment.