Subversion Repositories SmartDukaan

Rev

Rev 4135 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4135 Rev 4271
Line 1... Line 1...
1
values = []
1
values = []
2
 
2
 
3
storage = None
3
storage = None
-
 
4
expChildSlides = expSlide.getExpandedChildrenSlides()
-
 
5
 
-
 
6
for expChildSlide in expChildSlides:
-
 
7
    slideLabel = expChildSlide.getSlideDefinition().getLabel()
-
 
8
    
-
 
9
    if slideLabel == 'Hard disk drive':
4
expFeatures = expSlide.getExpandedFeatures()
10
        expFeatures = expSlide.getExpandedFeatures()        
-
 
11
        
5
if expFeatures is not None:
12
        if expFeatures is not None:
6
    for expFeature in expFeatures:
13
            for expFeature in expFeatures:
7
        print expFeature.getFeatureDefinition().getID()
14
                print expFeature.getFeatureDefinition().getID()
8
        if expFeature.getFeatureDefinition().getID() == 120112:
15
                if expFeature.getFeatureDefinition().getID() == 120112:
9
            expBullets = expFeature.getExpandedBullets()
16
                    expBullets = expFeature.getExpandedBullets()
10
            if expBullets is not None:
17
                    if expBullets is not None:
11
                for expBullet in expBullets:
18
                        for expBullet in expBullets:
12
                    storage = int(expBullet.getValue())
19
                            storage = int(expBullet.getValue())
13
 
20
 
14
if storage is not None:
21
if storage is not None:
15
    print "Storage is " + `ram`
22
    print "Storage is " + `storage`
16
    
23
    
17
    if storage <= 500:
24
    if storage <= 500:
18
        strStorage = "Upto 500GB"
25
        strStorage = "Upto 500GB"
19
    else:
26
    else:
20
        strStorage = "More than 500GB"
27
        strStorage = "More than 500GB"