MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / get_round_val

Function get_round_val

web/pgadmin/tools/schema_diff/__init__.py:774–778  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

772 'Advanced Server.')
773
774 def get_round_val(x):
775 if x < 100000:
776 return x + 100 - x % 100
777 else:
778 return x + 10000 - x % 10000
779
780 if get_round_val(src_manager.version) == \
781 get_round_val(tar_manager.version):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected