Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pysa.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def main():
if options.salt:
s.show_salt(output, module)

# save to madeira accound
# save to madeira account
if options.l:
m = Madeira(user, uid, output, module)
m.send()
Expand Down
4 changes: 2 additions & 2 deletions pysa/puppet/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
SECTION_CALL_EQ = dict([(key,SECTION_EQ[key].capitalize()) for key in SECTION_EQ])

# define subsclasses equivalency
# define subclasses equivalency
SUBCLASS_EQ = {
'packages' : {
MAIN_SECTION : 'provider',
Expand Down Expand Up @@ -146,7 +146,7 @@ def __init__(self, minput, filters = None):
def run(self):
Tools.l(INFO, "running", 'run', self)

#empty imput
#empty input
if not self.__input:
Tools.l(ERR, "empty input", 'run', self)
return {}
Expand Down
4 changes: 2 additions & 2 deletions pysa/salt/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ def __init__(self, minput, filters=None):
def run(self):
Tools.l(INFO, "running", 'run', self)

#empty imput
#empty input
if not self.__input:
Tools.l(ERR, "empty input", 'run', self)
return {}
Expand Down Expand Up @@ -290,7 +290,7 @@ def __process_data(self, data, manifest, name):
Tools.l(INFO, "processing data complete", 'process_data', self)
return data

# ganaration method
# generation method
@GeneralException
def __generate_classes(self, data):
for manifest in sorted(data):
Expand Down
2 changes: 1 addition & 1 deletion pysa/scanner/actions/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def add_conffile(self, filepath):

def query_deps(self, package):
"""
query package's denpendency in the list and update the user/core package list
query package's dependency in the list and update the user/core package list
"""

if self.scan_mode == 'sub_rpm':
Expand Down
2 changes: 1 addition & 1 deletion pysa/scanner/actions/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def search_scm(self, dir):
else:
continue

if scm=='svn': #if svn scm, need to check subdirctory
if scm=='svn': #if svn scm, need to check subdirectory
head, tail = os.path.split(dirpath)
while head and tail:
if head in self.user_repos['svn']:
Expand Down