public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin4][RM#5279] Fixed: pgAdmin4 does not start with Python2 environment
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin4][RM#5279] Fixed: pgAdmin4 does not start with Python2 environment
@ 2020-03-20 08:29  Murtuza Zabuawala <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Murtuza Zabuawala @ 2020-03-20 08:29 UTC (permalink / raw)
  To: pgadmin-hackers

Hi,

PFA patch to remove the unicode character from source code which was
causing the issue on Python2 environment.


--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Attachments:

  [application/octet-stream] remove_unicode_character_from_source.diff (1.6K, 3-remove_unicode_character_from_source.diff)
  download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/__init__.py b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/__init__.py
index 8aaccf13fc..2892c01395 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/__init__.py
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/tables/partitions/__init__.py
@@ -495,7 +495,7 @@ class PartitionsView(BaseTableView, DataTypeReader, VacuumSettings,
         partition_data['default_partition_header'] = \
             '-- Create a default partition to prevent the data loss.\n' \
             '-- It helps when none of the partitions of a relation\n' \
-            '-- matches the inserted data.'
+            '-- matches the inserted data.'
 
         # Create temporary name for partitions
         for item in source_data['partitions']:
diff --git a/web/pgadmin/tools/schema_diff/__init__.py b/web/pgadmin/tools/schema_diff/__init__.py
index 0a1402e6cb..e627de9dcc 100644
--- a/web/pgadmin/tools/schema_diff/__init__.py
+++ b/web/pgadmin/tools/schema_diff/__init__.py
@@ -569,7 +569,7 @@ def check_version_compatibility(sid, tid):
     tar_manager = driver.connection_manager(tar_server.id)
 
     if src_manager.server_type != tar_manager.server_type:
-        return False, gettext('Schema diff does not support the comparison '
+        return False, gettext('Schema diff does not support the comparison '
                               'between Postgres Server and EDB Postgres '
                               'Advanced Server.')
 


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

* Re: [pgAdmin4][RM#5279] Fixed: pgAdmin4 does not start with Python2 environment
@ 2020-03-20 09:49  Akshay Joshi <[email protected]>
  parent: Murtuza Zabuawala <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Akshay Joshi @ 2020-03-20 09:49 UTC (permalink / raw)
  To: Murtuza Zabuawala <[email protected]>; +Cc: pgadmin-hackers

Thanks, patch applied.

On Fri, Mar 20, 2020 at 2:00 PM Murtuza Zabuawala <
[email protected]> wrote:

> Hi,
>
> PFA patch to remove the unicode character from source code which was
> causing the issue on Python2 environment.
>
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
>

-- 
*Thanks & Regards*
*Akshay Joshi*

*Sr. Software Architect*
*EnterpriseDB Software India Private Limited*
*Mobile: +91 976-788-8246*


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


end of thread, other threads:[~2020-03-20 09:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 08:29 [pgAdmin4][RM#5279] Fixed: pgAdmin4 does not start with Python2 environment Murtuza Zabuawala <[email protected]>
2020-03-20 09:49 ` 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