Ignore:
Timestamp:
Oct 6, 2017, 1:02:05 PM (2 years ago)
Author:
daduve
Message:

Updating for eliminate bug when test apt failed in server and new comentaries in client debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-remote-installer/trunk/fuentes/lliurex-remote-installer-server.install/usr/share/n4d/python-plugins/LliureXRemoteInstaller.py

    r4752 r6001  
    241241                        exist=subprocess.Popen(["LANGUAGE=en_EN; apt-cache policy %s | grep -i candidate" %app],shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE).communicate()[0]
    242242                        print ("[LLXRemoteInstaller] (app_repo_exist) APP candidate in your repo is: %s"%exist)
    243                         if exist == None or exist == "":
     243                        if exist in [ None, "None",none,"none",""]:
    244244                                COMMENT="[LLXRemoteInstaller] (app_repo_exist) APP: %s doesn't exist in your repository, you can't add it to install list" %app
    245245                                print ("%s" %COMMENT)
Note: See TracChangeset for help on using the changeset viewer.