You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sqoop.apache.org by "Jarek Jarcec Cecho (JIRA)" <ji...@apache.org> on 2015/08/14 04:58:45 UTC

[jira] [Updated] (SQOOP-2482) Sqoop2: Precommit: Cobertura method is using wrong variable name

     [ https://issues.apache.org/jira/browse/SQOOP-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Jarcec Cecho updated SQOOP-2482:
--------------------------------------
    Attachment: SQOOP-2482.patch

Attaching simple fix.

> Sqoop2: Precommit: Cobertura method is using wrong variable name
> ----------------------------------------------------------------
>
>                 Key: SQOOP-2482
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2482
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.99.6
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.99.7
>
>         Attachments: SQOOP-2482.patch
>
>
> From precommit hook:
> {code}
> Traceback (most recent call last):
>   File "./dev-support/test-patch.py", line 600, in <module>
>     cobertura_compare(result, output_dir, options.cobertura)
>   File "./dev-support/test-patch.py", line 356, in cobertura_compare
>     summary.append("Package {{%p}}: Can't compare test coverage as base is missing." % (package))
> NameError: global name 'summary' is not defined
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)