Changeset 5675


Ignore:
Timestamp:
04/19/12 22:35:09 (2 years ago)
Author:
wehart
Message:

Return a list of packages instead of map()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • coopr.core/trunk/setup.py

    r5488 r5675  
    3131           if os.path.exists(root+os.sep+name+os.sep+"__init__.py"): 
    3232              pkg_list.append(root+os.sep+name) 
    33     return map(lambda x:x.replace(os.sep,"."), pkg_list) 
     33    return [pkg for pkg in map(lambda x:x.replace(os.sep,"."), pkg_list)] 
    3434 
    3535def read(*rnames): 
Note: See TracChangeset for help on using the changeset viewer.