Skip to content

Commit

Permalink
Use os.path.join
Browse files Browse the repository at this point in the history
  • Loading branch information
lmacken committed Oct 17, 2012
1 parent 67e8a35 commit b513817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fedmsg/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _gather_configs_in(directory):
""" Return list of fully qualified python filenames in the given dir """
try:
return [
directory + fname
os.path.join(directory, fname)
for fname in os.listdir(directory)
if fname.endswith('.py')
]
Expand Down

0 comments on commit b513817

Please sign in to comment.