def install_asimba_war(self):
        if self.installAsimba:
            asimbaWar = 'oxasimba.war'
            distAsimbaPath = '%s/%s' % (self.distFolder, asimbaWar)

            # Asimba is not part of CE package. We need to download it if needed
            if not os.path.exists(distAsimbaPath):
                print "Downloading Asimba war file..."
                self.run(['/usr/bin/wget', self.asimba_war, '-O', '%s/oxasimba.war' % self.distFolder])

            tmpAsimbaDir = '%s/tmp_asimba' % self.distFolder

            self.logIt("Unpacking %s..." % asimbaWar)
            self.removeDirs(tmpAsimbaDir)
            self.createDirs(tmpAsimbaDir)

            self.run([self.jarCommand,
                      'xf',
                      distAsimbaPath], tmpAsimbaDir)

            self.logIt("Configuring Asimba...")
            self.copyFile(self.asimba_configuration, '%s/WEB-INF/conf/asimba.xml' % tmpAsimbaDir)
            self.copyFile(self.asimba_properties, '%s/WEB-INF/asimba.properties' % tmpAsimbaDir)

            self.logIt("Generating asimba.war...")
            self.run([self.jarCommand,
                      'cmf',
                      'tmp_asimba/META-INF/MANIFEST.MF',
                      'asimba.war',
                      '-C',
                      tmpAsimbaDir % '%s/' ,
                      '.'], self.distFolder)

            self.logIt("Copying asimba.war into tomcat webapps folder...")
            self.copyFile('%s/asimba.war' % self.distFolder, self.tomcatWebAppFolder)

            self.removeDirs(tmpAsimbaDir)
            self.removeFile('%s/asimba.war' % self.distFolder)
dataset/ETHPy150Open GluuFederation/community-edition-setup/setup.py/Setup.install_asimba_war/swapped operands of `%`