Skip to content

Commit

Permalink
Fix typo(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandalka committed Dec 28, 2021
1 parent a37787f commit 5c5a3ce
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/opensemanticetl/filter_file_not_modified.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def process(self, parameters=None, data=None):
force = parameters['force']

# check if file size and file date are the same in DB
# if exist delete protocoll prefix file://
# if exist delete protocol prefix file://
if filename.startswith("file://"):
filename = filename.replace("file://", '', 1)

Expand Down Expand Up @@ -169,7 +169,7 @@ def process(self, parameters=None, data=None):
# print status
if self.verbose or self.quiet == False:
try:
print('Repeating indexing of unchanged file because (additional configured) plugin(s) or options {} not runned yet: {}'.format(
print('Repeating indexing of unchanged file because (additional configured) plugin(s) or options {} not ran yet: {}'.format(
plugins_not_runned + additional_plugins_later_not_runned, filename))
except:
sys.stderr.write(
Expand Down Expand Up @@ -238,7 +238,7 @@ def process(self, parameters=None, data=None):
sys.stderr.write(
"Indexing modified file. Exception while printing filename (problem with encoding of filename or console?)\n")

# if not modifed and no critical ETL errors, stop ETL process, because all done on last run
# if not modified and no critical ETL errors, stop ETL process, because all done on last run
if not doindex:
parameters['break'] = True
else:
Expand All @@ -255,7 +255,7 @@ def process(self, parameters=None, data=None):
data['etl_' + runned_plugin + '_b'] = False
commit = True

# immediatelly commit (else Solr autocommit after some time) of etl status reset(s) in exporter before adding new ETL tasks which need the status for plugin filter_file_not_modified
# immediately commit (else Solr autocommit after some time) of etl status reset(s) in exporter before adding new ETL tasks which need the status for plugin filter_file_not_modified
if commit:
parameters['commit'] = True

Expand Down

0 comments on commit 5c5a3ce

Please sign in to comment.