Package repoman :: Module checks :: Class NoOffsetWithHelpers
[hide private]

Class NoOffsetWithHelpers

source code

object --+    
         |    
 LineCheck --+
             |
            NoOffsetWithHelpers

Check that the image location, the alternate root offset, and the offset prefix (D, ROOT, ED, EROOT and EPREFIX) are not used with helpers

Instance Methods [hide private]

Inherited from LineCheck: check, check_eapi, end, new

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  repoman_check_name = u'variable.usedwithhelpers'
  re = re.compile(r'^[^#"\']*\b(docinto|docompress|dodir|dohard|...
  error = u'Helper function is used with D, ROOT, ED, EROOT or E...

Inherited from LineCheck: ignore_comment, ignore_line

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

re

Value:
re.compile(r'^[^#"\']*\b(docinto|docompress|dodir|dohard|exeinto|fowne\
rs|fperms|insinto|into)\s+"?\$\{?(D|ROOT|ED|EROOT|EPREFIX)\b.*')

error

Value:
u'Helper function is used with D, ROOT, ED, EROOT or EPREFIX on line :\
%d'