Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pulsar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NDIP
Pulsar
Commits
7bfed5d8
Commit
7bfed5d8
authored
5 years ago
by
John Chilton
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused method.
parent
44e3b611
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pulsar/client/action_mapper.py
+0
-5
0 additions, 5 deletions
pulsar/client/action_mapper.py
with
0 additions
and
5 deletions
pulsar/client/action_mapper.py
+
0
−
5
View file @
7bfed5d8
...
@@ -2,7 +2,6 @@ import fnmatch
...
@@ -2,7 +2,6 @@ import fnmatch
import
tempfile
import
tempfile
from
contextlib
import
contextmanager
from
contextlib
import
contextmanager
from
json
import
load
from
os
import
makedirs
from
os
import
makedirs
from
os
import
unlink
from
os
import
unlink
from
os.path
import
(
from
os.path
import
(
...
@@ -204,10 +203,6 @@ class FileActionMapper(object):
...
@@ -204,10 +203,6 @@ class FileActionMapper(object):
config
[
attr
]
=
getattr
(
client
,
attr
)
config
[
attr
]
=
getattr
(
client
,
attr
)
return
config
return
config
def
__load_action_config
(
self
,
path
):
config
=
load
(
open
(
path
,
'
rb
'
))
self
.
mappers
=
mappers_from_dicts
(
config
.
get
(
'
paths
'
,
[]))
def
__find_mapper
(
self
,
path
,
type
,
mapper
=
None
):
def
__find_mapper
(
self
,
path
,
type
,
mapper
=
None
):
if
not
mapper
:
if
not
mapper
:
normalized_path
=
abspath
(
path
)
normalized_path
=
abspath
(
path
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment