From 706977ad962e4c476fc908ccb463f4079dedb650 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Fri, 10 May 2013 05:41:51 +0200 Subject: Update authors and changelog. --- AUTHORS | 3 ++- CHANGES | 2 ++ tests/test_parse.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index c4e43e2..24c8608 100644 --- a/AUTHORS +++ b/AUTHORS @@ -12,4 +12,5 @@ Alphabetical list of contributors: * Piet Delport * Yago Riveiro * quest -* vthriller \ No newline at end of file +* vthriller +* wayne.wuw \ No newline at end of file diff --git a/CHANGES b/CHANGES index f3785f8..25b1c87 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,8 @@ Development Version Enhancements * Improve parsing of assignments in UPDATE statements (issue90). * Add STRAIGHT_JOIN statement (by Yago Riveiro). +* Function.get_parameters() now returns the parameter if only one parameter is + given (issue94, by wayne.wuw). Release 0.1.7 (Apr 06, 2013) diff --git a/tests/test_parse.py b/tests/test_parse.py index ab4e674..7016af9 100644 --- a/tests/test_parse.py +++ b/tests/test_parse.py @@ -107,7 +107,7 @@ class SQLParseTest(TestCaseBase): self.assertEqual(len(t), 1) self.assert_(isinstance(t[0], sqlparse.sql.Identifier)) - def test_function_parameter(self): # see issue94 + def test_function_parameter(self): # see issue94 t = sqlparse.parse('abs(some_col)')[0].tokens[0].get_parameters() self.assertEqual(len(t), 1) self.assert_(isinstance(t[0], sqlparse.sql.Identifier)) -- cgit v1.2.1