diff options
Diffstat (limited to 'gitlab/objects.py')
-rw-r--r-- | gitlab/objects.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitlab/objects.py b/gitlab/objects.py index 53f23c1..df97157 100644 --- a/gitlab/objects.py +++ b/gitlab/objects.py @@ -1226,7 +1226,7 @@ class ProjectFile(GitlabObject): requiredCreateAttrs = ['file_path', 'branch_name', 'content', 'commit_message'] optionalCreateAttrs = ['encoding'] - requiredDeleteAttrs = ['branch_name', 'commit_message'] + requiredDeleteAttrs = ['branch_name', 'commit_message', 'file_path'] getListWhenNoId = False shortPrintAttr = 'file_path' getRequiresId = False |