keep old repoman names so we don't confuse people
authorAlec Warner <antarus@gentoo.org>
Mon, 1 Oct 2007 10:26:09 +0000 (10:26 -0000)
committerAlec Warner <antarus@gentoo.org>
Mon, 1 Oct 2007 10:26:09 +0000 (10:26 -0000)
svn path=/main/trunk/; revision=7896

pym/repoman/checks.py

index 89f041d8ec8b628fe6cb9a0c7757e39addda07bc..ac79b990ec88dbbd4f9360a27cd3aa0427e02278 100644 (file)
@@ -149,7 +149,7 @@ class EbuildQuoteCheck(ContentCheck):
 class EbuildAssignmentCheck(ContentCheck):
        """Ensure ebuilds don't assign to readonly variables."""
 
-       repoman_check_name = 'ebuild.majorsyn'
+       repoman_check_name = 'variable.readonly'
 
        readonly_assignment = re.compile(r'^\s*(export\s+)?(A|CATEGORY|P|PV|PN|PR|PVR|PF|D|WORKDIR|FILESDIR|FEATURES|USE)=')
        line_continuation = re.compile(r'([^#]*\S)(\s+|\t)\\$')