Subversion Repositories SmartDukaan

Rev

Rev 19686 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 19686 Rev 26816
Line 28... Line 28...
28
        """
28
        """
29
        Push the content of one entity to production
29
        Push the content of one entity to production
30
        Parameters:
30
        Parameters:
31
         - entityId
31
         - entityId
32
        """
32
        """
33
        retval = subprocess.call([self.scriptPath, str(entityId)])
33
        retval = False
34
        if retval:
34
        if retval:
35
            raise ContentServiceException(id=1, message="Pushing content to production failed")
35
            raise ContentServiceException(id=1, message="Pushing content to production failed")
36
        return True
36
        return True
37
    
37
    
38
    def uploadContent(self,bulkContentList):
38
    def uploadContent(self,bulkContentList):