public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test
@ 2019-01-24 05:41 Khushboo Vashi <[email protected]>
  2019-01-24 05:56 ` Re: [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test Akshay Joshi <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Khushboo Vashi @ 2019-01-24 05:41 UTC (permalink / raw)
  To: pgadmin-hackers

Hi,

Please find the attached patch to fix the syntax error on python 2.7 for
the feature test case.
The cause of this is the print function is not compatible with python 2.7
which has been fixed.

Thanks,
Khushboo


Attachments:

  [text/x-patch] feature_test_fix_python2.patch (633B, 3-feature_test_fix_python2.patch)
  download | inline diff:
diff --git a/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py b/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py
index c63ae6c5..27ac8c2c 100644
--- a/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py
+++ b/web/pgadmin/feature_tests/xss_checks_panels_and_query_tool_test.py
@@ -7,6 +7,7 @@
 #
 ##########################################################################
 
+from __future__ import print_function
 from regression.python_test_utils import test_utils
 from regression.feature_utils.base_feature_test import BaseFeatureTest
 from selenium.webdriver import ActionChains


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test
  2019-01-24 05:41 [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test Khushboo Vashi <[email protected]>
@ 2019-01-24 05:56 ` Akshay Joshi <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2019-01-24 05:56 UTC (permalink / raw)
  To: Khushboo Vashi <[email protected]>; +Cc: pgadmin-hackers

Thanks patch applied.

On Thu, Jan 24, 2019 at 11:12 AM Khushboo Vashi <
[email protected]> wrote:

> Hi,
>
> Please find the attached patch to fix the syntax error on python 2.7 for
> the feature test case.
> The cause of this is the print function is not compatible with python 2.7
> which has been fixed.
>
> Thanks,
> Khushboo
>


-- 
*Akshay Joshi*

*Sr. Software Architect *



*Phone: +91 20-3058-9517Mobile: +91 976-788-8246*


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-01-24 05:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-01-24 05:41 [pgAdmin4][Patch]: Fix syntax error on pytthon 2.7 for the feature test Khushboo Vashi <[email protected]>
2019-01-24 05:56 ` Akshay Joshi <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox