Commit dc2249a3 authored by Jose Aliste's avatar Jose Aliste

Add __name__ to DynamicModule class.

Fixes bug #623486.
parent 2357bca8
......@@ -79,6 +79,7 @@ class DynamicModule(object):
def __init__(self, namespace):
self._namespace = namespace
self.__name__ = 'gi.repository.' + namespace
def __getattr__(self, name):
info = repository.find_by_name(self._namespace, name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment