Reviewers: ,


Please review this at http://codereview.tryton.org/436001/

Affected files:
  M proteus/config.py


Index: proteus/config.py
===================================================================

--- a/proteus/config.py
+++ b/proteus/config.py
@@ -113,6 +113,8 @@
                 self._config.user, readonly=readonly) as transaction:
             Cache.clean(self._config.database_name)
             args = list(args)
+            if not args:
+ raise TypeError('Not arguments available in %s' % self._name)
             context = args.pop()
             if '_timestamp' in context:
                 transaction.timestamp = context['_timestamp']



--
[email protected] mailing list

Reply via email to