Skip to content

Commit

Permalink
Move backwards compat stuff to __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dhubbard committed Jul 25, 2013
1 parent c60613e commit d97f064
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -19,7 +19,7 @@

setup(
name="sshmap",
version="0.5.49",
version="0.5.50",
author="Dwight Hubbard",
author_email="dhubbard@yahoo-inc.com",
url="https://github.com/dwighthubbard/sshmap",
Expand Down
11 changes: 10 additions & 1 deletion sshmap/__init__.py
Expand Up @@ -16,4 +16,13 @@
import callback
import utility
import runner
from sshmap import run, run_command

# For backwards compatibility
from callback import summarize_failures as callback_summarize_failures
from callback import aggregate_output as callback_aggregate_output
from callback import exec_command as callback_exec_command
from callback import filter_match as callback_filter_match
from callback import status_count as callback_status_count

# The actual used sshmap functions
from sshmap import run, run_command
7 changes: 0 additions & 7 deletions sshmap/sshmap.py
Expand Up @@ -43,13 +43,6 @@
import defaults
import runner

# For backwards compatibility
from callback import summarize_failures as callback_summarize_failures
from callback import aggregate_output as callback_aggregate_output
from callback import exec_command as callback_exec_command
from callback import filter_match as callback_filter_match
from callback import status_count as callback_status_count

# Fix to make ctrl-c correctly terminate child processes
# spawned by the multiprocessing module
from multiprocessing.pool import IMapIterator
Expand Down

0 comments on commit d97f064

Please sign in to comment.