Skip to content

Commit 7f934b6

Browse files
committed
Syntax correction
1 parent 7b3de16 commit 7f934b6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

push_puppetforge.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def splitext(path):
109109
return os.path.splitext(path)
110110

111111

112-
def postModule(moduleTar, moduleInputDir, pfserver, pfmodpath)
112+
def postModule(moduleTar, moduleInputDir, pfserver, pfmodpath):
113113
"""
114114
Function to push puppet modules using curl to Artifiactory repository
115115
"""
@@ -142,8 +142,8 @@ def main(args):
142142
runuser = helpers.who_is_running()
143143

144144
# Set the base dir of the script and where the var data is
145-
global dir
146-
global vardir
145+
global dir
146+
global vardir
147147
dir = os.path.dirname(__file__)
148148
vardir = os.path.join(dir, 'var')
149149
confdir = os.path.join(dir, 'config')
@@ -156,9 +156,9 @@ def main(args):
156156
parser.add_argument('-r', '--repo', help='Puppetforge repo label', required=False)
157157
parser.add_argument('-t', '--type', help='Puppetforge server type (puppet-forge-server|artifiactory)', required=False)
158158
parser.add_argument('-s', '--server', help='puppet-forge-server hostname', required=False)
159-
parser.add_argument('-m', '--modulepath', help='path to puppet-forge-server modules',
159+
parser.add_argument('-m', '--modulepath', help='path to puppet-forge-server modules',
160160
required=False)
161-
parser.add_argument('-u', '--user', help='Username to push modules to server as (default is user running script)',
161+
parser.add_argument('-u', '--user', help='Username to push modules to server as (default is user running script)',
162162
required=False)
163163
args = parser.parse_args()
164164

rel-eng/sat6_scripts.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ mandb -q
133133
* Sun Dec 10 2017 Geoff Gatward <ggatward@redhat.com> 1.2.0
134134
- Refer https://github.com/ggatward/sat6_scripts/blob/1.2.0/CHANGELOG.md
135135

136-
* Thu Oct 25 2017 Geoff Gatward <ggatward@redhat.com> 1.1.1
136+
* Wed Oct 25 2017 Geoff Gatward <ggatward@redhat.com> 1.1.1
137137
- Refer https://github.com/ggatward/sat6_scripts/blob/1.1.1/CHANGELOG.md
138138

139139
* Thu Oct 19 2017 Geoff Gatward <ggatward@redhat.com> 1.1.0

0 commit comments

Comments
 (0)