Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
Remove unnecessary desc arg
Browse files Browse the repository at this point in the history
  • Loading branch information
puhitaku committed Jan 13, 2016
1 parent 00eef5a commit 6970f5d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions bqx/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,8 @@ def ON(self, cond):
else:
raise Exception('ON clause is put in wrong place. Last clause: %s' % self.applied_c[-1])

def ORDER_BY(self, row, desc=False):
if desc:
s = 'ORDER BY %s DESC' % str(row)
else:
s = 'ORDER BY %s' % str(row)
def ORDER_BY(self, row):
s = 'ORDER BY %s' % str(row)
return self._apply(s)

def ASC(self):
Expand Down

0 comments on commit 6970f5d

Please # to comment.