Skip to content

Commit 7b602ef

Browse files
author
Bruno da Silva de Oliveira
committed
- now warns that AllFromHeader is not working in all cases
[SVN r22316]
1 parent 15e555c commit 7b602ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyste/src/Pyste/infos.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from CodeExporter import CodeExporter
1515
from exporterutils import FunctionWrapper
1616
from utils import makeid
17-
17+
import warnings
1818

1919
#==============================================================================
2020
# DeclarationInfo
@@ -149,6 +149,7 @@ def __init__(self, name, include, exporter_class = EnumExporter):
149149
class HeaderInfo(DeclarationInfo):
150150

151151
def __init__(self, include, exporter_class = HeaderExporter):
152+
warnings.warn('AllFromHeader is not working in all cases in the current version.')
152153
DeclarationInfo.__init__(self)
153154
self._Attribute('include', include)
154155
exporter = exporter_class(InfoWrapper(self))

0 commit comments

Comments
 (0)