scylla-cqlsh 6.0.13__cp38-cp38-win32.whl → 6.0.14__cp38-cp38-win32.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of scylla-cqlsh might be problematic. Click here for more details.

copyutil.cp38-win32.pyd CHANGED
Binary file
cqlsh/cqlsh.py CHANGED
@@ -152,7 +152,7 @@ if os.path.isdir(cqlshlibdir):
152
152
  from cqlshlib import cql3handling, pylexotron, sslhandling, cqlshhandling, authproviderhandling
153
153
  from cqlshlib.copyutil import ExportTask, ImportTask
154
154
  from cqlshlib.displaying import (ANSI_RESET, BLUE, COLUMN_NAME_COLORS, CYAN,
155
- RED, WHITE, FormattedValue, colorme)
155
+ RED, YELLOW, WHITE, FormattedValue, colorme)
156
156
  from cqlshlib.formatting import (DEFAULT_DATE_FORMAT, DEFAULT_NANOTIME_FORMAT,
157
157
  DEFAULT_TIMESTAMP_FORMAT, CqlType, DateTimeFormat,
158
158
  format_by_type)
@@ -212,7 +212,7 @@ parser.add_option('--cqlversion', default=None,
212
212
  'by default the highest version supported by the server will be used.'
213
213
  ' Examples: "3.0.3", "3.1.0"')
214
214
  parser.add_option("--protocol-version", type="int", default=None,
215
- help='Specify a specific protcol version otherwise the client will default and downgrade as necessary')
215
+ help='Specify a specific protocol version otherwise the client will default and downgrade as necessary')
216
216
 
217
217
  parser.add_option("-e", "--execute", help='Execute the statement and quit.')
218
218
  parser.add_option("--connect-timeout", default=DEFAULT_CONNECT_TIMEOUT_SECONDS, dest='connect_timeout',
@@ -1110,8 +1110,8 @@ class Shell(cmd.Cmd):
1110
1110
  try:
1111
1111
  self.conn.refresh_schema_metadata(5) # will throw exception if there is a schema mismatch
1112
1112
  except Exception:
1113
- self.printerr("Warning: schema version mismatch detected; check the schema versions of your "
1114
- "nodes in system.local and system.peers.")
1113
+ self.printwarn("Warning: schema version mismatch detected; check the schema versions of your "
1114
+ "nodes in system.local and system.peers.")
1115
1115
  self.conn.refresh_schema_metadata(-1)
1116
1116
 
1117
1117
  if result is None:
@@ -2290,6 +2290,13 @@ class Shell(cmd.Cmd):
2290
2290
  text = '%s:%d:%s' % (self.stdin.name, self.lineno, text)
2291
2291
  self.writeresult(text, color, newline=newline, out=sys.stderr)
2292
2292
 
2293
+ def printwarn(self, text, color=YELLOW, newline=True, shownum=None):
2294
+ if shownum is None:
2295
+ shownum = self.show_line_nums
2296
+ if shownum:
2297
+ text = '%s:%d:%s' % (self.stdin.name, self.lineno, text)
2298
+ self.writeresult(text, color, newline=newline, out=sys.stderr)
2299
+
2293
2300
  def stop_coverage(self):
2294
2301
  if self.coverage and self.cov is not None:
2295
2302
  self.cov.stop()
cqlshlib/_version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '6.0.13'
16
- __version_tuple__ = version_tuple = (6, 0, 13)
15
+ __version__ = version = '6.0.14'
16
+ __version_tuple__ = version_tuple = (6, 0, 14)
cqlshlib/copyutil.py CHANGED
@@ -2243,7 +2243,7 @@ class TokenMap(object):
2243
2243
 
2244
2244
  self._initialize_ring()
2245
2245
 
2246
- # Note that refresh metadata is disabled by default and we currenlty do not intercept it
2246
+ # Note that refresh metadata is disabled by default and we currently do not intercept it
2247
2247
  # If hosts are added, removed or moved during a COPY operation our token map is no longer optimal
2248
2248
  # However we can cope with hosts going down and up since we filter for replicas that are up when
2249
2249
  # making each batch
cqlshlib/pylexotron.py CHANGED
@@ -384,7 +384,7 @@ class ParsingRuleSet:
384
384
  def parse_rules(cls, rulestr):
385
385
  tokens, unmatched = cls.RuleSpecScanner.scan(rulestr)
386
386
  if unmatched:
387
- raise LexingError.from_text(rulestr, unmatched, msg="Syntax rules are unparseable")
387
+ raise LexingError.from_text(rulestr, unmatched, msg="Syntax rules are unparsable")
388
388
  rules = {}
389
389
  terminals = []
390
390
  tokeniter = iter(tokens)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scylla-cqlsh
3
- Version: 6.0.13
3
+ Version: 6.0.14
4
4
  Summary: cqlsh is a Python-based command-line client for running CQL commands on a scylla cluster.
5
5
  Home-page: https://github.com/scylladb/scylla-cqlsh
6
6
  Author: Israel Fruchter
@@ -1,26 +1,26 @@
1
- copyutil.cp38-win32.pyd,sha256=u8_O7Q5xmzYzHbll9hOpSD2sXwQNX2Sby0Aaxr_eR_s,1097728
1
+ copyutil.cp38-win32.pyd,sha256=Xzvce1F-dpXZ4GzSQn1Wy0vEBgtZZkkgYss2Fc4gQhA,1096192
2
2
  cqlsh/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
3
3
  cqlsh/__main__.py,sha256=x2NuvlSuAKwNCxiX07YoYfxog9JNAO759ZxnjBEcfus,231
4
- cqlsh/cqlsh.py,sha256=R5jsHxVkxucdpqd4rgijNKt4DTOCOwn9LniIUNIZsXQ,113292
4
+ cqlsh/cqlsh.py,sha256=dtlp2xwaXu7LLEWOp7xdtV7poRj1aGChOxinTOzeINw,113614
5
5
  cqlshlib/__init__.py,sha256=3M0IQCsjdCGYEOBT20swSvqxV6V8vg_mu1uJig78Vmk,3274
6
- cqlshlib/_version.py,sha256=HtHgnHdcGU5xy7UUT6irq8-LbHLABZ9BRf-0zLm0xJw,429
6
+ cqlshlib/_version.py,sha256=P4uuvLDAh0hkAc3F2dlAYC69Lvb3JASlaa7eaxVsY0c,429
7
7
  cqlshlib/authproviderhandling.py,sha256=goFjJCO1FKuVCXU7KXlmlorx_cD_oIRlgpOeH13W--g,7254
8
- cqlshlib/copyutil.py,sha256=eCWsRPlWjsJFik8ocTjh8HhRJEyEHLrd4bOxCoa8m38,116130
8
+ cqlshlib/copyutil.py,sha256=6d8F5kVr3UPFVRvmX4t5yr3PId1a4L6PBYwFyZUjOaM,116130
9
9
  cqlshlib/cql3handling.py,sha256=7lwOXRGeDH-IDy2ENNJ3dbeP5o3LRmlonvIoO9rs6kw,59132
10
10
  cqlshlib/cqlhandling.py,sha256=hiqjCKY5fQnqSEeugYJgAD3hRiloqUtOUTSg_GccL4A,13436
11
11
  cqlshlib/cqlshhandling.py,sha256=cMlDbq5MuXagJmq-qpJxRqwstOAawWUu2rry6tfHV_w,10824
12
12
  cqlshlib/displaying.py,sha256=WxKcYuX098sa6NoyPeYwJod0zutkrTm2Zm3riIhrYpA,4105
13
13
  cqlshlib/formatting.py,sha256=-oKYKPHUH9o2GFUC8QPWs3cbDplJ6awn_Xw4uIMuIUg,23633
14
14
  cqlshlib/helptopics.py,sha256=Dh2qBHFWJHwkZyQKfC6Ma5o-grLix2uqnFba6UTYxVA,4714
15
- cqlshlib/pylexotron.py,sha256=G6Ih2dQBciQVVdZaDTGIEZNoT2aQ-s-qOzE3J5uYpds,19836
15
+ cqlshlib/pylexotron.py,sha256=YHThu6pk9kDNoTOuJTDdXBXbso7eQjmAWqh9qy4w5l0,19835
16
16
  cqlshlib/saferscanner.py,sha256=N5ugQIf-ZyJ8w8CtkY-6f8F8OpqgUSJgyMuusA4yWSM,3630
17
17
  cqlshlib/sslhandling.py,sha256=GaZ5Mc6skkwgz83CUWnkka6_Nk71Pag-pL-mA2Je9uU,4014
18
18
  cqlshlib/tracing.py,sha256=Krb-TkfWrUdxr17-2yZrW5DXKvBEQt-FYZAix_62Tes,3493
19
19
  cqlshlib/util.py,sha256=gHvzlTw1T9N1YzXdVPFptAt58EzyXpDRibAo8QB03I8,5240
20
20
  cqlshlib/wcwidth.py,sha256=zsoo9u3ZA3q8RL5Afb6ynRujqDdUZ9zlFIHGE8RkqyA,16244
21
- scylla_cqlsh-6.0.13.dist-info/LICENSE.txt,sha256=65AZdlqRQxiyMBv8nY6itMITk5jx9EkE_jHujbcDzbk,11564
22
- scylla_cqlsh-6.0.13.dist-info/METADATA,sha256=DkhFj8CeX3p6HVH9qEkFiCA7bWh5AkQaXfGuRplr-cE,2910
23
- scylla_cqlsh-6.0.13.dist-info/WHEEL,sha256=y8qDGGdi2jzVmdhM7TFDumLpecKSDSzZ5cZMyFFuIFQ,96
24
- scylla_cqlsh-6.0.13.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
25
- scylla_cqlsh-6.0.13.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
26
- scylla_cqlsh-6.0.13.dist-info/RECORD,,
21
+ scylla_cqlsh-6.0.14.dist-info/LICENSE.txt,sha256=65AZdlqRQxiyMBv8nY6itMITk5jx9EkE_jHujbcDzbk,11564
22
+ scylla_cqlsh-6.0.14.dist-info/METADATA,sha256=ee0ZfXoFb7JD1dVOSdOGOwf6SGfg3TuXAohMXlRRJO0,2910
23
+ scylla_cqlsh-6.0.14.dist-info/WHEEL,sha256=EiQJdJz9MF-Ytxz_yg7pufUbIRgyTkoi17ceXLlE8lo,96
24
+ scylla_cqlsh-6.0.14.dist-info/entry_points.txt,sha256=oE4unqgR3WwNkCJDGlMG1HYtCE3nEZZ4d9CIl-JSZyQ,46
25
+ scylla_cqlsh-6.0.14.dist-info/top_level.txt,sha256=PVG-5w7PDG3FoAJH6Rq2I8C0y4cKa2KOW75GxjHkmQ4,24
26
+ scylla_cqlsh-6.0.14.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.2)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-cp38-win32
5
5