Skip to content
Browse files

Fixed return not syntax error in extract_pageviews

  • Loading branch information...
1 parent eae9aca commit fd5c19e9aa1184c7deeab89e4fb0ae7f7f42f035 Dieterich Lawson committed Sep 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/munging/wikipedia/pageviews/extract_pageviews.rb
View
4 examples/munging/wikipedia/pageviews/extract_pageviews.rb
@@ -19,11 +19,11 @@
class String
def is_enwiki?
- return not (self =~ /^en /).nil?
+ return (not (self =~ /^en /).nil?)
end
def is_after_enwiki?
- return not (line =~ /^(e[o-z][a-z]*|[f-z][a-z]+) /).nil?
+ return (not (self =~ /^(e[o-z][a-z]*|[f-z][a-z]+) /).nil?)
end
end

0 comments on commit fd5c19e

Please sign in to comment.
Something went wrong with that request. Please try again.