Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
re6stnet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Milestones
Merge Requests
4
Merge Requests
4
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
re6stnet
Commits
5ec2dbec
Commit
5ec2dbec
authored
Jun 18, 2024
by
Tom Niget
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
demo: modify shebang to call Python through /usr/bin/env
parent
fbfa8c1a
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
.gitignore
.gitignore
+1
-0
demo/demo
demo/demo
+1
-1
demo/py
demo/py
+1
-1
re6st/tests/test_unit/test_registry.py
re6st/tests/test_unit/test_registry.py
+1
-1
No files found.
.gitignore
View file @
5ec2dbec
...
@@ -5,3 +5,4 @@
...
@@ -5,3 +5,4 @@
/build/
/build/
/dist/
/dist/
/re6stnet.egg-info/
/re6stnet.egg-info/
.idea
\ No newline at end of file
demo/demo
View file @
5ec2dbec
#!/usr/bin/
python
#!/usr/bin/
env python3
import argparse, math, nemu, os, re, signal
import argparse, math, nemu, os, re, signal
import socket, sqlite3, subprocess, sys, time, weakref
import socket, sqlite3, subprocess, sys, time, weakref
from collections import defaultdict
from collections import defaultdict
...
...
demo/py
View file @
5ec2dbec
#!/usr/bin/env python
#!/usr/bin/env python
3
def
__file__
():
def
__file__
():
import
argparse
,
os
,
sys
import
argparse
,
os
,
sys
sys
.
dont_write_bytecode
=
True
sys
.
dont_write_bytecode
=
True
...
...
re6st/tests/test_unit/test_registry.py
View file @
5ec2dbec
...
@@ -397,7 +397,7 @@ class TestRegistryServer(unittest.TestCase):
...
@@ -397,7 +397,7 @@ class TestRegistryServer(unittest.TestCase):
self
.
assertEqual
(
get_hmac
(),
[
None
,
key_2
,
key_1
])
self
.
assertEqual
(
get_hmac
(),
[
None
,
key_2
,
key_1
])
#
set
p 5
#
ste
p 5
self
.
server
.
updateHMAC
()
self
.
server
.
updateHMAC
()
self
.
assertEqual
(
get_hmac
(),
[
key_2
,
None
,
None
])
self
.
assertEqual
(
get_hmac
(),
[
key_2
,
None
,
None
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment