As reported on IRC:
<dragfyre> I’m running pywikibot on a third-party wiki, and I suspect I have a problem with namespaces. Trying to run the Interwiki script results in the following error: <dragfyre> File "./scripts/interwiki.py", line 2370, in page_empty_check <dragfyre> if page.namespace().content: <dragfyre> AttributeError: 'int' object has no attribute 'content' <dragfyre> Any thoughts on how to resolve this?
Looking at https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.html?highlight=namespace#pywikibot.site.Namespace class pywikibot.site.Namespace hasen't any "content" related property.