Permalink
Browse files

cleanup

  • Loading branch information...
klbostee committed Jul 26, 2010
1 parent fea6a8e commit 0bd7513cf2f163653a0c41d8ebcf187bfe3a56a9
Showing with 2 additions and 12 deletions.
  1. +0 −5 dumbo/cmd.py
  2. +2 −5 dumbo/core.py
  3. +0 −2 dumbo/decor.py
View
@@ -14,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import sys
-import os
-
from dumbo.util import *
@@ -36,8 +33,6 @@ def dumbo():
return 1
if sys.argv[1] == 'start':
retval = start(sys.argv[2], parseargs(sys.argv[2:]))
- elif sys.argv[1] == 'submit':
- retval = submit(sys.argv[2], parseargs(sys.argv[2:]))
elif sys.argv[1] == 'cat':
retval = cat(sys.argv[2], parseargs(sys.argv[2:]))
elif sys.argv[1] == 'ls':
View
@@ -14,9 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import sys
-import os
-import re
import types
import resource
import copy
@@ -145,9 +142,9 @@ def __init__(self, body, isprimary=False):
def __cmp__(self, other):
bodycmp = cmp(self.body, other.body)
if bodycmp:
- return bodycmp
+ return bodycmp
else:
- return cmp(self.isprimary, other.isprimary)
+ return cmp(self.isprimary, other.isprimary)
@classmethod
def fromjoinkey(cls, jk):
View
@@ -14,8 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-from copy import copy
-
from dumbo.lib import PrimaryMapper, SecondaryMapper

0 comments on commit 0bd7513

Please sign in to comment.