Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gpMgmt/bin/gpactivatestandby
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Invalid name - pylint: disable=C0103
#
# Copyright (c) EMC 2011
# Copyright (c) Cloudberry Inc 2010
# Copyright (c) Greenplum Inc 2010
# All Rights Reserved.
#
"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gpconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#
# gpconfig will guarantee that all segments have valid conf files if gpconfig runs successfully, but we do not handle
# sequence races. To be specific, suppose there are two simultaneous callers of gpconfig, U1 and U2, that modify
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gpdeletesystem
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#

# System imports
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gpexpand
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Line too long - pylint: disable=C0301
# Invalid name - pylint: disable=C0103
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
from gppylib.mainUtils import getProgramName

Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gpinitstandby
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gplogfilter
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# gplogfilter [options] [inputfile]...
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

# import Python standard library modules
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppkg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
# import mainUtils FIRST to get python version check
# THIS IMPORT SHOULD COME FIRST
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
base.py
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/dca.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2011. All Rights Reserved.
# Copyright (c) Greenplum Inc 2011. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/gp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/pg.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
# Unit Testing of pg commands
#
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/test/unit/test_unit_base.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2012. All Rights Reserved.
# Copyright (c) Greenplum Inc 2012. All Rights Reserved.
#

import unittest
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/test/unit/test_unit_gp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2012. All Rights Reserved.
# Copyright (c) Greenplum Inc 2012. All Rights Reserved.
#

from gppylib.commands.base import CommandResult
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/commands/unix.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
Set of Classes for executing unix commands.
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/db/catalog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
""" Provides Access Utilities for Examining and Modifying the GP Catalog.

Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/db/dbconn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
TODO: module docs
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/db/test/regress/test_regress_catalog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
# Unit Testing of catalog module.
#
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/db/test/test_catalog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
# Unit Testing of catalog module.
#
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/db/test/test_dbconn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

""" Unittesting for dbconn module
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/db/test/unit/test_unit_dbconn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

""" Unittesting for dbconn module
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/gp_era.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

"""
gp_era.py, based on gp_dbid.py
Copyright (c) EMC/Cloudberry Inc 2011. All Rights Reserved.
Copyright (c) EMC/Greenplum Inc 2011. All Rights Reserved.
"""

import sys, os, stat, re
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/gparray.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
gparray.py:
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/gplog.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
Cloudberry logging facilities.
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/gpparseopts.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
Standard set of helper functions for gp utilities for parsing command line options.
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/gpsubprocess.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/gpversion.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
"""
gpversion.py:
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/operations/package.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Line too long - pylint: disable=C0301
# Copyright (c) Cloudberry Inc 2011. All Rights Reserved.
# Copyright (c) Greenplum Inc 2011. All Rights Reserved.

from contextlib import closing
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
import io
import logging
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
from mock import call, patch, MagicMock, Mock
import os
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/operations/test/unit/test_unit_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#
import sys

Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/parseutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Routines to parse "flexible" configuration files for tools like
gpaddmirrors, gprecoverseg, gpexpand, etc.

Copyright (c) EMC/Cloudberry Inc 2011. All Rights Reserved.
Copyright (c) EMC/Greenplum Inc 2011. All Rights Reserved.
"""

import re
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/programs/clsAddMirrors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Line too long - pylint: disable=C0301
# Invalid name - pylint: disable=C0103
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
# import mainUtils FIRST to get python version check
# THIS IMPORT SHOULD COME FIRST
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/programs/clsRecoverSegment.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Line too long - pylint: disable=C0301
# Invalid name - pylint: disable=C0103
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
# Note: the option to recover to a new host is not very good if we have a multi-home configuration
#
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/programs/clsSystemState.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
# import mainUtils FIRST to get python version check
# THIS IMPORT SHOULD COME FIRST
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/programs/gppkg.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Line too long - pylint: disable=C0301
# Copyright (c) Cloudberry Inc 2011. All Rights Reserved.
# Copyright (c) Greenplum Inc 2011. All Rights Reserved.

from optparse import OptionGroup
import os
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/programs/programIoUtils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
from gppylib import gparray, gplog, pgconf, userinput

Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/ComputeCatalogUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

"""
ComputeCatalogUpdate.py
Copyright (c) EMC/Cloudberry Inc 2011. All Rights Reserved.
Copyright (c) EMC/Greenplum Inc 2011. All Rights Reserved.

Used by updateSystemConfig() to compare the db state and
goal state of a gpArray containing the Cloudberry segment
Expand Down
4 changes: 2 additions & 2 deletions gpMgmt/bin/gppylib/system/configurationImplGpdb.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) EMC/Cloudberry Inc 2011. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
# Copyright (c) EMC/Greenplum Inc 2011. All Rights Reserved.
#
"""
This file defines the interface that can be used to fetch and update system
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/configurationInterface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/environment.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#
from gppylib import gplog, pgconf
from gppylib.commands import gp
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/faultProberImplGpdb.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/faultProberInterface.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) Cloudberry Inc 2010. All Rights Reserved.
# Copyright (c) Greenplum Inc 2010. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/fileSystemImplOs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/fileSystemImplTest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/fileSystemInterface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/osImplNative.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/system/osInterface.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
# Copyright (c) Cloudberry Inc 2009. All Rights Reserved.
# Copyright (c) Greenplum Inc 2009. All Rights Reserved.
#

"""
Expand Down
2 changes: 1 addition & 1 deletion gpMgmt/bin/gppylib/test/unit/test_unit_gparray.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
# Line too long - pylint: disable=C0301
#
# Copyright (c) Cloudberry Inc 2008. All Rights Reserved.
# Copyright (c) Greenplum Inc 2008. All Rights Reserved.
#

""" Unittesting for gplog module
Expand Down
Loading