Skip to content

Commit

Permalink
Update the version
Browse files Browse the repository at this point in the history
Make python2.x work again
  • Loading branch information
Dwight Hubbard committed Apr 21, 2014
1 parent 11a32ca commit 5138c82
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 13 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setup(
name="sshmap",
version="0.6.10",
version="0.6.11",
author="Dwight Hubbard",
author_email="dhubbard@yahoo-inc.com",
url="https://github.com/yahoo/sshmap",
Expand Down
40 changes: 28 additions & 12 deletions sshmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,33 @@
# See the License for the specific language governing permissions and
# limitations under the License. See accompanying LICENSE file.

#import sshmap.sshmap
#import sshmap.callback
import sshmap.utility
#import sshmap.runner
try:
import sshmap.sshmap
import sshmap.callback
import sshmap.utility
import sshmap.runner

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

# The actual used sshmap functions
from sshmap.sshmap import run, run_command, run_with_runner
# The actual used sshmap functions
from sshmap.sshmap import run, run_command, run_with_runner
except ImportError:
import sshmap
import callback
import utility
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

# The actual used sshmap functions
from sshmap import run, run_command, run_with_runner

0 comments on commit 5138c82

Please sign in to comment.