Skip to content

Commit aa5330b

Browse files
committed
Restore Python 3.5
1 parent fe39011 commit aa5330b

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
language: python
22
python:
3+
- '3.5'
34
- '3.6'
45
- '3.7'
56
- '3.8'

jupyterlab_git/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ async def get_upstream_branch(self, current_path, branch_name):
943943
return {"code": code, "command": " ".join(command), "message": error}
944944
rev_parse_output = output.strip()
945945

946-
command = ["git", "config", "--local", f"branch.{branch_name}.remote"]
946+
command = ["git", "config", "--local", "branch.{}.remote".format(branch_name)]
947947
code, output, error = await execute(
948948
command, cwd=os.path.join(self.root_dir, current_path)
949949
)

jupyterlab_git/tests/test_branch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ async def test_get_upstream_branch_success(branch, upstream, remotename):
431431
cwd=os.path.join("/bin", "test_curr_path"),
432432
),
433433
call(
434-
['git', 'config', '--local', f'branch.{branch}.remote'],
434+
['git', 'config', '--local', 'branch.{}.remote'.format(branch)],
435435
cwd='/bin/test_curr_path',
436436
),
437437

0 commit comments

Comments
 (0)