Permalink
Browse files

Move backwards compat stuff to __init__.py

  • Loading branch information...
1 parent c60613e commit d97f06400c8f47d8113f12975643728f3b464b02 dhubbard committed Jul 25, 2013
Showing with 11 additions and 9 deletions.
  1. +1 −1 setup.py
  2. +10 −1 sshmap/__init__.py
  3. +0 −7 sshmap/sshmap.py
View
@@ -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",
View
@@ -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
View
@@ -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

0 comments on commit d97f064

Please sign in to comment.