]> khamidou — GitHub mirrors - arcanist.git/commitdiff
arc lint: fix typo in PEP8 linter
authorAndrew Gallagher <agallagher@fb.com>
Thu, 19 May 2011 20:38:18 +0000 (13:38 -0700)
committerAndrew Gallagher <agallagher@fb.com>
Thu, 19 May 2011 20:41:18 +0000 (13:41 -0700)
Test Plan:
linted!

Reviewed By: jungejason
Reviewers: epriestley, jungejason
CC: aran, jungejason
Differential Revision: 314

src/lint/linter/pep8/ArcanistPEP8Linter.php

index 73732b741362b2855038f8ba52b4f6f765bb6dfd..978d1b8018b81b8a43f6b8364a170228c8fb24da 100644 (file)
@@ -75,7 +75,7 @@ class ArcanistPEP8Linter extends ArcanistLinter {
       if ($matches[4][0] == 'E') {
         $message->setSeverity(ArcanistLintSeverity::SEVERITY_ERROR);
       } else {
-        $message->setSeveirty(ArcanistLintSeverity::SEVERITY_WARNING);
+        $message->setSeverity(ArcanistLintSeverity::SEVERITY_WARNING);
       }
       $this->addLintMessage($message);
     }