~magentoerpconnect-core-editors/magentoerpconnect/trunk_version

« back to all changes in this revision

Viewing changes to magentoerpconnect/magerp_osv.py

  • Committer: Guewen Baconnier @ Camptocamp
  • Date: 2012-12-06 08:06:31 UTC
  • mfrom: (527.3.36 magentoerpconnect)
  • Revision ID: guewen.baconnier@camptocamp.com-20121206080631-bxc57hah96pbeayb
[IMP] allow to choose, per product, if the stock should be managed or not or use the default configuration

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
                self.logger.error(_("Method: %s\nArguments:%s\nError:%s"), method, arguments, e, exc_info=True)
117
117
                self.logger.warn(_("Webservice Failure, sleeping %s second before next attempt"), sleep_time)
118
118
                time.sleep(sleep_time)
119
 
        raise
 
119
                raise
 
120
            except xmlrpclib.Fault, exc:
 
121
                self.logger.error('call to %s%s failed: %s', method, tuple(arguments), exc)
 
122
                raise
120
123
 
121
124
 
122
125
    def fetch_image(self, imgloc):