---

** [tickets:#8014] Bug: removed upsert() method needed by TracWikiImporter**

**Status:** open
**Milestone:** unreleased
**Labels:** import 
**Created:** Fri Oct 30, 2015 06:44 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 30, 2015 06:44 PM UTC
**Owner:** nobody


We removed upsert() in [f33baf] but it is actually used.  We should bring it 
back with a `user` param, or update TracWikiImporter to not need it.

    Traceback (most recent call last):
      File "/var/local/allura/ForgeImporters/forgeimporters/base.py", line 131, 
in import_tool
        mount_point=mount_point, mount_label=mount_label, **kw)
      File 
"/var/local/env-allura/lib/python2.7/site-packages/TracWikiImporter-0.4.2-py2.7.egg/tracwikiimporter/importer.py",
 line 94, in import_tool
        options.token = self.get_token(user)
      File 
"/var/local/env-allura/lib/python2.7/site-packages/TracWikiImporter-0.4.2-py2.7.egg/tracwikiimporter/importer.py",
 line 116, in get_token
        consumer_token = OAuthConsumerToken.upsert(self.classname)
    AttributeError: type object 'OAuthConsumerToken' has no attribute 'upsert'


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to