Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Making the construction of the glob pattern more friendly to non-posi…
Browse files Browse the repository at this point in the history
…x environments.
  • Loading branch information
Mitch Garnaat committed Jan 20, 2011
1 parent 6edb076 commit 7dfc35b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boto/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ def load_plugins(config):
if not config.has_option('Plugin', 'plugin_directory'):
return
directory = config.get('Plugin', 'plugin_directory')
for file in glob.glob(directory + '/*.py'):
for file in glob.glob(os.path.join(directory, '*.py')):
_import_module(file)

0 comments on commit 7dfc35b

Please sign in to comment.