beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [1/2] beam git commit: Fix a typo in function args
Date Sat, 24 Jun 2017 00:34:34 GMT
Repository: beam
Updated Branches:
  refs/heads/master a90e40ae9 -> 16f87f49f


Fix a typo in function args


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/e45f522d
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/e45f522d
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/e45f522d

Branch: refs/heads/master
Commit: e45f522d6e945899c20259ebf8faca105c2e552e
Parents: a90e40a
Author: Valentyn Tymofieiev <valentyn@google.com>
Authored: Fri Jun 23 16:44:49 2017 -0700
Committer: Ahmet Altay <altay@google.com>
Committed: Fri Jun 23 17:34:17 2017 -0700

----------------------------------------------------------------------
 sdks/python/apache_beam/examples/streaming_wordcount.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/e45f522d/sdks/python/apache_beam/examples/streaming_wordcount.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/examples/streaming_wordcount.py b/sdks/python/apache_beam/examples/streaming_wordcount.py
index f2b179a..4c29f2b 100644
--- a/sdks/python/apache_beam/examples/streaming_wordcount.py
+++ b/sdks/python/apache_beam/examples/streaming_wordcount.py
@@ -33,7 +33,7 @@ import apache_beam.transforms.window as window
 
 def split_fn(lines):
   import re
-  return re.findall(r'[A-Za-z\']+', x)
+  return re.findall(r'[A-Za-z\']+', lines)
 
 
 def run(argv=None):


Mime
View raw message