We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent69f1045 commit05656bbCopy full SHA for 05656bb
gitlab/v4/objects.py
@@ -1360,6 +1360,7 @@ def save(self, branch, commit_message, **kwargs):
1360
"""
1361
self.branch=branch
1362
self.commit_message=commit_message
1363
+self.file_path=self.file_path.replace('/','%2F')
1364
super(ProjectFile,self).save(**kwargs)
1365
1366
defdelete(self,branch,commit_message,**kwargs):
@@ -1374,7 +1375,8 @@ def delete(self, branch, commit_message, **kwargs):
1374
1375
GitlabAuthenticationError: If authentication is not correct
1376
GitlabDeleteError: If the server cannot perform the request
1377
-self.manager.delete(self.get_id(),branch,commit_message,**kwargs)
1378
+file_path=self.get_id().replace('/','%2F')
1379
+self.manager.delete(file_path,branch,commit_message,**kwargs)
1380
1381
1382
classProjectFileManager(GetMixin,CreateMixin,UpdateMixin,DeleteMixin,