Skip to content

Commit

Permalink
fix style warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Apr 23, 2017
1 parent f6a87bf commit d5f6f03
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion src/rosdistro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,5 @@ def _load_yaml_data(url):
data.append(_load_yaml_data(u))
return data

from .legacy import *

from .legacy import * # noqa
2 changes: 1 addition & 1 deletion src/rosdistro/distribution_cache_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def generate_distribution_cache(index, dist_name, preclean=False, ignore_local=F
print('- fetch source repository manifests')
for repo_name in sorted(dist.repositories.keys()):
if dist.repositories[repo_name].source_repository:
source_repo_cache = dist.get_source_repo_package_xmls(repo_name)
dist.get_source_repo_package_xmls(repo_name)
if debug:
print(' - fetch "%s"' % repo_name)
else:
Expand Down
10 changes: 5 additions & 5 deletions src/rosdistro/legacy.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
from . import logger

# legacy imports
from . import common
from .aptdistro import AptDistro
from .develdistro import DevelDistro
from .rosdistro import RosDistro
from .rosdistro import walks
from . import common # noqa
from .aptdistro import AptDistro # noqa
from .develdistro import DevelDistro # noqa
from .rosdistro import RosDistro # noqa
from .rosdistro import walks # noqa

from .doc_build_file import DocBuildFile
from .doc_file import DocFile
Expand Down

0 comments on commit d5f6f03

Please sign in to comment.