skilleter-thingy 0.2.10__py3-none-any.whl → 0.2.12__py3-none-any.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 skilleter-thingy might be problematic. Click here for more details.

@@ -100,6 +100,9 @@ def colour_prompt(gitstate: dict):
100
100
  else:
101
101
  output.append('[REVERSE][GREEN]')
102
102
 
103
+ if output:
104
+ output.append(' ')
105
+
103
106
  return output
104
107
 
105
108
  ################################################################################
@@ -191,8 +194,6 @@ def git_status(colour_output: str, prompt_output: str):
191
194
  """ Catalogue the current state of the working tree then call the function
192
195
  to either output a suitable colour or the prompt text or both """
193
196
 
194
- output = []
195
-
196
197
  # Get the working tree, just return if there's an error
197
198
 
198
199
  try:
@@ -241,12 +242,17 @@ def git_status(colour_output: str, prompt_output: str):
241
242
 
242
243
  # Set the output colour or output the prompt prefix
243
244
 
245
+ output = []
246
+
244
247
  if colour_output:
245
248
  output += colour_prompt(gitstate)
246
249
 
247
250
  if prompt_output or not colour_output:
248
251
  output.append(prompt_prefix(gitstate))
249
252
 
253
+ if output:
254
+ output.append(' ')
255
+
250
256
  return ''.join(output)
251
257
 
252
258
  ################################################################################
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: skilleter_thingy
3
- Version: 0.2.10
3
+ Version: 0.2.12
4
4
  Summary: A collection of useful utilities, mainly aimed at making Git more friendly
5
5
  Author-email: John Skilleter <john@skilleter.org.uk>
6
6
  Project-URL: Home, https://skilleter.org.uk
@@ -18,7 +18,7 @@ skilleter_thingy/git_review.py,sha256=Z_e0wyQJ2AzOSy5cPI3jmAWystpJbHH4ygENjFagep
18
18
  skilleter_thingy/git_update.py,sha256=Z3p3E33ZJ2DVa107UzaFR9V8LXADRuHjJL8TX3IhEa4,14348
19
19
  skilleter_thingy/git_wt.py,sha256=tkGN_Bfz80icHNDVG8xuXVeUUR-xyZ3u8jopLRt1Ff4,2355
20
20
  skilleter_thingy/gitcmp_helper.py,sha256=MlRimPj-S-ov44ETUvocRvfygs3cArP6WdSJCIJWNCs,11347
21
- skilleter_thingy/gitprompt.py,sha256=Ci92A_uVc7gTcv1OwqerN91nBBY8SPvHpFJkYBICf08,8853
21
+ skilleter_thingy/gitprompt.py,sha256=19vBe2JSs6H_7us5MYmdmGnwEIKiP9K2JlUBWPxXuCg,8939
22
22
  skilleter_thingy/gl.py,sha256=9zbGpKxw6lX9RghLkdy-Q5sZlqtbB3uGFO04qTu1dH8,5954
23
23
  skilleter_thingy/linecount.py,sha256=ehTN6VD76i4U5k6dXuYoiqSRHI67_BP-bziklNAJSKY,4309
24
24
  skilleter_thingy/multigit.py,sha256=kTxEYinHCH1CQE7hzJF58XH1m-n0NZz5IGOtIJ3nL4Q,33979
@@ -51,9 +51,9 @@ skilleter_thingy/thingy/run.py,sha256=mqafCzW9op_xKCt8OY3jJ6YltmoOJGh44vzl667mww
51
51
  skilleter_thingy/thingy/tfm_pane.py,sha256=XTTpSm71CyQyGmlVLuCthioOwech0jhUiFUXb-chS_Q,19792
52
52
  skilleter_thingy/thingy/tidy.py,sha256=AQ2RawsZJg6WHrgayi_ZptFL9occ7suSdCHbU3P-cys,5971
53
53
  skilleter_thingy/thingy/venv_template.py,sha256=ZfUvi8qFNGrk7J030Zy57xjwMtfIArJyqa-MqafyjVk,1016
54
- skilleter_thingy-0.2.10.dist-info/licenses/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
55
- skilleter_thingy-0.2.10.dist-info/METADATA,sha256=cDk-Jv1l9wV5uNDbd8GvHBIzLIJubSp_2NE5ZDaQtKs,28914
56
- skilleter_thingy-0.2.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
57
- skilleter_thingy-0.2.10.dist-info/entry_points.txt,sha256=MTNWf8jOx8Fy3tSwVLCZPlEyzlDF36odw-IN-cSefP8,1784
58
- skilleter_thingy-0.2.10.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
59
- skilleter_thingy-0.2.10.dist-info/RECORD,,
54
+ skilleter_thingy-0.2.12.dist-info/licenses/LICENSE,sha256=ljOS4DjXvqEo5VzGfdaRwgRZPbNScGBmfwyC8PChvmQ,32422
55
+ skilleter_thingy-0.2.12.dist-info/METADATA,sha256=vgy6l2zwfqwBXzrl93XYWSsh7VdaJcZigTlwz-lGYUo,28914
56
+ skilleter_thingy-0.2.12.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
57
+ skilleter_thingy-0.2.12.dist-info/entry_points.txt,sha256=MTNWf8jOx8Fy3tSwVLCZPlEyzlDF36odw-IN-cSefP8,1784
58
+ skilleter_thingy-0.2.12.dist-info/top_level.txt,sha256=8-JhgToBBiWURunmvfpSxEvNkDHQQ7r25-aBXtZv61g,17
59
+ skilleter_thingy-0.2.12.dist-info/RECORD,,