file type constants...

Bunları files.py'nin içine almak gerekir mi? Ya da bence daha iyisi
constants'ı bölmek gerekir mi? Gerçi o kadar constant yok halen...
This commit is contained in:
Barış Metin
2005-07-22 13:01:01 +00:00
parent edd282327a
commit 51b2717920
+9
View File
@@ -56,6 +56,15 @@ class Constants:
self.__c.build_func = "build"
self.__c.install_func = "install"
# file types
self.__c.doc = "doc"
self.__c.conf = "conf"
self.__c.header = "header"
self.__c.library = "library"
self.__c.executable = "executable"
self.__c.data = "data"
self.__c.localedata = "localedata"
def __getattr__(self, attr):
return getattr(self.__c, attr)