python-postgres/fe — pull request #65 by treycucco (2013-02-12 16:39:38+00:00)
Title: Fix calling Stored Procedure with kwargs

Fixes issue with calling a StoredProcedure with kwargs. The for loop depended on the variable 'argc' which was not declared. This declares the variable, and updates the handling of current_word in the loop to handle instances where the number of items in kw is less than the number of arguments the stored procedure requires.