Skip to content

Commit

Permalink
Revert "[python] Additional changes for python3 compatibility"
Browse files Browse the repository at this point in the history
This reverts commit 5266328.
  • Loading branch information
Philip Langdale committed Apr 9, 2015
1 parent e7d37ab commit 27499aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
from sys import version_info, platform

if version_info[:2] > (2, 5):
install_requires = ['six']
install_requires = []
else:
install_requires = ['six', 'simplejson >= 2.0.0']
install_requires = ['simplejson >= 2.0.0']

# Python 2.6 and below requires argparse
if version_info[:2] < (2, 7):
Expand Down Expand Up @@ -60,7 +60,6 @@
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
],
entry_points = { 'console_scripts': [ 'cmps = cm_shell.cmps:main', ]}
)
2 changes: 1 addition & 1 deletion python/src/cm_api_tests/test_replication.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_hdfs_arguments(self):
self.assertFalse(args.preservePermissions)
self.assertTrue(args.preserveReplicationCount)
self.assertFalse(args.skipTrash)
self.assertEqual('DYNAMIC', args.replicationStrategy)
self.assertEquals('DYNAMIC', args.replicationStrategy)
self.assertFalse(args.preserveXAttrs)

def test_hive_arguments(self):
Expand Down

0 comments on commit 27499aa

Please sign in to comment.