From 6970f5d0c4387b055f9bba032933ff28baf69725 Mon Sep 17 00:00:00 2001 From: puhitaku Date: Wed, 13 Jan 2016 16:05:20 +0900 Subject: [PATCH] Remove unnecessary desc arg --- bqx/query.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/bqx/query.py b/bqx/query.py index 0d730af..535907b 100644 --- a/bqx/query.py +++ b/bqx/query.py @@ -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):