diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2019-08-16 01:16:04 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2019-08-16 01:26:30 +0200 |
commit | 3cbc5c8c267ba81a1664f6a83a0d9217ddec01da (patch) | |
tree | 695cb58a35f60909b1dc79dcf3dd83e62b6ea6da | |
parent | 24e725cc4c46a6a2fea9ad9597f51c1174312c72 (diff) | |
download | gtk-doc-3cbc5c8c267ba81a1664f6a83a0d9217ddec01da.tar.gz |
config: fix regression from last merge.
Replace the '*' import with what we use and correctly reference the fields.
Fixes #101
-rw-r--r-- | gtkdoc/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtkdoc/config.py b/gtkdoc/config.py index 2d072fb..b0a407f 100644 --- a/gtkdoc/config.py +++ b/gtkdoc/config.py @@ -7,6 +7,7 @@ try: except ModuleNotFoundError: from gtkdoc.config_data import * + def get_dirs(uninstalled): try: from gtkdoc_uninstalled import sourcedir @@ -22,6 +23,6 @@ def get_dirs(uninstalled): gtkdocdir = os.environ['ABS_TOP_SRCDIR'] styledir = gtkdocdir + '/style' else: - gtkdocdir = os.path.join(config.datadir, 'gtk-doc/data') + gtkdocdir = os.path.join(datadir, 'gtk-doc/data') styledir = gtkdocdir return (gtkdocdir, styledir) |