diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-07-26 15:00:47 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-07-26 15:00:47 +0200 |
commit | a3a453b69b4e1d9230e3f7a291a606afc59f9708 (patch) | |
tree | 2be7ee58ca1aab140efb605e034148d90d024137 /waftools/generators | |
parent | 616d1510a71228e5b87a19a7b65dbeba36e57462 (diff) |
build: remove useless class
Diffstat (limited to 'waftools/generators')
-rw-r--r-- | waftools/generators/headers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/waftools/generators/headers.py b/waftools/generators/headers.py index dbedcc0865..3c83292f7e 100644 --- a/waftools/generators/headers.py +++ b/waftools/generators/headers.py @@ -15,10 +15,10 @@ def __escape_c_string(s): return s.replace("\"", "\\\"").replace("\n", "\\n") def __get_features_string__(ctx): - from inflectors import DependencyInflector + import inflector stuff = [] for dependency_identifier in ctx.satisfied_deps: - defkey = DependencyInflector(dependency_identifier).define_key() + defkey = inflector.define_key(dependency_identifier) if ctx.is_defined(defkey) and ctx.get_define(defkey) == "1": stuff.append(dependency_identifier) stuff.sort() |