Permalink
Browse files

do not use empty list as default value for param

  • Loading branch information...
1 parent e729423 commit a68f2c2b683c84280b5e9a473aaeeeaa0ec92e3a @mjrusso committed Dec 11, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 pyhbase/connection.py
View
@@ -205,7 +205,7 @@ def delete(self, table, row, *columns):
# TODO(hammer): Figure out cleaner, more functional command-line
@retry_wrapper
def scan(self, table, number_of_rows, start_row=None,
- stop_row=None, columns=[], timestamp=None):
+ stop_row=None, columns=None, timestamp=None):
if columns:
columns = [{"family": column[0], "qualifier": column[1]}

0 comments on commit a68f2c2

Please sign in to comment.