IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40896


Ignore:
Timestamp:
Sep 24, 2019, 11:15:36 AM (7 years ago)
Author:
fairlamb
Message:

removed some print statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ipp-132_automate_jira_conf_backups/backups/backup_atlassian_applications.py

    r40894 r40896  
    111111            self._make_destination_subdirs_if_needed(cp)
    112112
    113         print("Paths ok")
    114113        return True
    115114
     
    121120        for sd in subdirs:
    122121            if not path.exists(sd):
    123                 print("creating dir: ", sd)
     122                if self.verbose:
     123                    print("creating dir: ", sd)
    124124                os.makedirs(sd)
    125125
     
    257257        # do this as the dumper user
    258258
    259         print(dump_password)
    260 
    261259        latest_paths = self.target_paths("latest")
    262260        if not self.target_backup_paths_ok():
     
    277275                         , '--databases', 'jiradb', 'confluencedb'
    278276                         ]
    279         print(mysqldump_args)
    280277        with open(dump_filepath, "w+") as df:
    281278            mysqldump_process = subprocess.Popen(mysqldump_args, stdout=df, stderr=subprocess.PIPE)
     
    286283        if stde is not None:
    287284            decoded_stderr = stde.decode()
    288             print(decoded_stderr)
    289             print(decoded_stderr.casefold().find('error'.casefold()))
    290285            if decoded_stderr.casefold().find('error'.casefold()) > -1:
    291286                raise sub_utils.SubprocessError()
Note: See TracChangeset for help on using the changeset viewer.