Merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/notIn into lp:ubuntu-ui-toolkit/staging

Proposed by Cris Dywan
Status: Merged
Approved by: Tim Peeters
Approved revision: 1117
Merged at revision: 1117
Proposed branch: lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/notIn
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 67 lines (+8/-8)
1 file modified
tests/qmlapicheck.py (+8/-8)
To merge this branch: bzr merge lp:~ubuntu-sdk-team/ubuntu-ui-toolkit/notIn
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Zsombor Egri Approve
Review via email: mp+224409@code.launchpad.net

Commit message

Change "not…in" to "…not in" in qmlapicheck.py

To post a comment you must log in.
Revision history for this message
Zsombor Egri (zsombi) wrote :

Kewl stuff, thanks!

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Continuous integration, rev:1117
http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-ci/462/
Executed test runs:
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-utopic-touch/1188
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-utopic/1055
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-amd64-ci/294
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-armhf-ci/294
        deb: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-armhf-ci/294/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-i386-ci/294
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/1527
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/2060
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/2060/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/8832
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-utopic/880
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1198
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1198/artifact/work/output/*zip*/output.zip

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-ci/462/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

FAILED: Autolanding.
More details in the following jenkins job:
http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-autolanding/199/
Executed test runs:
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-utopic-touch/1192/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-utopic/1058
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-amd64-autolanding/143
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-armhf-autolanding/143
        deb: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-armhf-autolanding/143/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/ubuntu-sdk-team-ubuntu-ui-toolkit-staging-utopic-i386-autolanding/143
    FAILURE: http://jenkins.qa.ubuntu.com/job/generic-deb-autopilot-runner-mako/1529/console
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/2065
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-armhf/2065/artifact/work/output/*zip*/output.zip
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/8834
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-utopic/882
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1201
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-utopic-amd64/1201/artifact/work/output/*zip*/output.zip

review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'tests/qmlapicheck.py'
2--- tests/qmlapicheck.py 2014-05-26 16:03:32 +0000
3+++ tests/qmlapicheck.py 2014-06-25 10:17:31 +0000
4@@ -63,12 +63,12 @@
5 fullpath = folder + '/' + filename
6 classname = pieces[0]
7 version = pieces[1]
8- if not fullpath in inputfiles:
9+ if fullpath not in inputfiles:
10 inputfiles.append(fullpath)
11 classes[fullpath] = [classname, version]
12 else:
13 versions = classes[fullpath]
14- if not classname in versions:
15+ if classname not in versions:
16 versions.append(classname)
17 versions.append(version)
18 else:
19@@ -118,7 +118,7 @@
20 # internal without type always relates to the next declared property
21 annotated_properties['internal'] = 'internal'
22
23- if '/*' in line and not '*/' in line:
24+ if '/*' in line and '*/' not in line:
25 in_comment = True
26 continue
27 if '*/' in line:
28@@ -133,7 +133,7 @@
29 continue
30
31 # End of function/ signal/ Item block
32- if '}' in line and not '{' in line:
33+ if '}' in line and '{' not in line:
34 in_block -= 1
35 block_meta = {}
36 if in_block == 1 and in_builtin_type:
37@@ -162,7 +162,7 @@
38
39 block_meta[words[0]] = line
40 # Omit prototype if it comes before the name since we may skip it
41- if not 'name' in block_meta and words[0] == 'prototype':
42+ if 'name' not in block_meta and words[0] == 'prototype':
43 continue
44
45 # Don't consider the qml variable name as a keyword
46@@ -183,10 +183,10 @@
47 no_mods = no_mods.replace(mod, '')
48 name = no_mods.strip().split(' ')[2]
49 if 'internal' in annotated_properties:
50- if not name in annotated_properties:
51+ if name not in annotated_properties:
52 annotated_properties[name] = 'internal'
53 del annotated_properties['internal']
54- if not name in annotated_properties:
55+ if name not in annotated_properties:
56 print(' %s' % (signature))
57 print('Error: Missing \\qmlproperty for %s' % name)
58 sys.exit(1)
59@@ -199,7 +199,7 @@
60 break
61
62 # Start of function/ signal/ Item block
63- if '{' in line and not '}' in line:
64+ if '{' in line and '}' not in line:
65 in_block += 1
66 block_meta = {}
67 # The parent type can affect API

Subscribers

People subscribed via source and target branches