Skip to content

Commit 7291614

Browse files
committed
change checkpoint_filename and copyright year
1 parent 877fe64 commit 7291614

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/github_commits/bin/github_commits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env python
22
#
3-
# Copyright 2013 Splunk, Inc.
3+
# Copyright 2021 Splunk, Inc.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License"): you may
66
# not use this file except in compliance with the License. You may obtain
@@ -149,7 +149,7 @@ def stream_events(self, inputs, ew):
149149
# Get the checkpoint directory out of the modular input's metadata
150150
checkpoint_dir = inputs.metadata["checkpoint_dir"]
151151

152-
checkpoint_file_path = os.path.join(checkpoint_dir, owner + " " + repo_name + ".txt")
152+
checkpoint_file_path = os.path.join(checkpoint_dir, owner + "_" + repo_name + ".txt")
153153
checkpoint_file_new_contents = ""
154154
error_found = False
155155

0 commit comments

Comments
 (0)