hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
b9399c470bc7cf85952ab0cc7113f4f825a1a7b3 | diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index <HASH>..<HASH> 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,12 +1,18 @@
## Rails 4.0.0 (unreleased) ##
+* The `#append` method for collection associations behaves like`<<`.
+ `#prepend` is not defined and `<... | deal with `#append` and `#prepend` on association collections.
Closes #<I>.
Collection associations behave similar to Arrays. However there is no
way to prepend records. And to append one should use `<<`. Before this
patch `#append` and `#prepend` did not add the record to the loaded
association.
`#append` now behav... | rails_rails | train |
bafc27d45492d23a7d9c192fc0504053d628fa8c | diff --git a/ghost/admin/views/editor-tag-widget.js b/ghost/admin/views/editor-tag-widget.js
index <HASH>..<HASH> 100644
--- a/ghost/admin/views/editor-tag-widget.js
+++ b/ghost/admin/views/editor-tag-widget.js
@@ -134,6 +134,12 @@
var $target = $(e.currentTarget),
searchTerm = $.trim($tar... | Enable Escape key to close tag suggestion popup
closes #<I>
- Checking the contents of search term after evaluating the keycode caused the suggestion box to be hidden and immediately reshown
- Moving the if/else to the top of the function enables us to fix the issue without complicating the suggestion update logic | TryGhost_Ghost | train |
3f26dc7b60cc50144a5982d6e70a6a7586594c46 | diff --git a/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java b/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java
+++ b/src/main/java/org/codehaus/groovy/runtime/InvokerHelper.java
@@ -388,7 +388,11 @@ ... | GROOVY-<I>: Improve the performance of creating list(closes #<I>) | apache_groovy | train |
3abea2ff73ebdc762475138df0878e3f1f032e6a | diff --git a/toml.py b/toml.py
index <HASH>..<HASH> 100644
--- a/toml.py
+++ b/toml.py
@@ -92,8 +92,9 @@ def load_value(v):
escapedchars = ['\0', '\n', '\r', '\t', '\"', '\\']
escapeseqs = v.split('\\')[1:]
for i in escapeseqs:
- if i[0] not in escapes and i[0] != 'x':
- ... | Addresses some issues raised in #4
No longer chop off opening brackets for nested arrays
Ignore trailing backslashes | uiri_toml | train |
746cc250ca74c5d209c3990bfb7874c5a462bee7 | diff --git a/features/dependency-injection/dependency-injection.js b/features/dependency-injection/dependency-injection.js
index <HASH>..<HASH> 100644
--- a/features/dependency-injection/dependency-injection.js
+++ b/features/dependency-injection/dependency-injection.js
@@ -46,7 +46,7 @@
function Injector(instan... | feat(dependency-injection): add "noError" option to get a DI | XavierBoubert_mvw-injection | train |
df37b65872bc1b5a21a1e74934b834472fc6ca7b | diff --git a/buffer/managers/updates.py b/buffer/managers/updates.py
index <HASH>..<HASH> 100644
--- a/buffer/managers/updates.py
+++ b/buffer/managers/updates.py
@@ -2,6 +2,7 @@ from buffer.models.update import Update
PATHS = {
'GET_PENDING': 'profiles/%s/updates/pending.json',
+ 'GET_SENT': 'profiles/%s/update... | Improve proper using of property decorator and logic | vtemian_buffpy | train |
69b9341951deac5a074c0b96ea86e61c8eec9498 | diff --git a/ezp/Content/Service.php b/ezp/Content/Service.php
index <HASH>..<HASH> 100644
--- a/ezp/Content/Service.php
+++ b/ezp/Content/Service.php
@@ -404,7 +404,8 @@ class Service extends BaseService
$updateStruct->id = $content->id;
$updateStruct->userId = $version->creatorId;
$updateSt... | UnitTests PHPDoc fixes | ezsystems_ezpublish-kernel | train |
ee42a35821f2a5ddb9ae12819319d97e19a6cc3e | diff --git a/lib/Widget/View.php b/lib/Widget/View.php
index <HASH>..<HASH> 100644
--- a/lib/Widget/View.php
+++ b/lib/Widget/View.php
@@ -168,4 +168,17 @@ class View extends AbstractView
return $this;
}
+
+ /**
+ * Set base directory for views
+ *
+ * @param string|ar... | added setDirs for view widget | twinh_wei | train |
42111ab03b5e6fa47b7bf7c7cb5caa402f10ce6d | diff --git a/LICENSE b/LICENSE
index <HASH>..<HASH> 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2014-2015 Leif Johnson
+Copyright (c) 2014-2015 lmjohns3
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documen... | Update util.log with better info/formatting. | lmjohns3_downhill | train |
a3c1f4a8f52d179cf468451831f477031ea75181 | diff --git a/test/unit/spec/client/mercury/socket.js b/test/unit/spec/client/mercury/socket.js
index <HASH>..<HASH> 100644
--- a/test/unit/spec/client/mercury/socket.js
+++ b/test/unit/spec/client/mercury/socket.js
@@ -166,14 +166,14 @@ describe('Client', function() {
}), /`options.token` is required/);
... | fix(legacy): fix test that started failing after chai update | webex_spark-js-sdk | train |
a440c2022e0c20941fda4d2d48d2e8274a837b78 | diff --git a/pyflakes/api.py b/pyflakes/api.py
index <HASH>..<HASH> 100644
--- a/pyflakes/api.py
+++ b/pyflakes/api.py
@@ -117,6 +117,10 @@ def isPythonFile(filename):
if filename.endswith('.py'):
return True
+ # Avoid obvious Emacs backup files
+ if filename.endswith("~"):
+ return False
+... | skip Emacs/vim backup files (#<I>)
* skip Emacs/vim backup files
* requested change | PyCQA_pyflakes | train |
a4c0a0766a2cd4fff0a78e5da92a52fbb35f0084 | diff --git a/src/RpcErrorDispatcher.php b/src/RpcErrorDispatcher.php
index <HASH>..<HASH> 100644
--- a/src/RpcErrorDispatcher.php
+++ b/src/RpcErrorDispatcher.php
@@ -7,7 +7,7 @@ namespace Swoft\Rpc\Server;
use ReflectionException;
use Swoft;
use Swoft\Bean\Exception\ContainerException;
-use Swoft\Error\ErrorHandler... | update: rename ErrorHandlers to ErrorManager, update some class imports | swoft-cloud_swoft-rpc-server | train |
d48c29431d5f39f204d45c21d27b4ef727a2ceec | diff --git a/setup.py b/setup.py
index <HASH>..<HASH> 100644
--- a/setup.py
+++ b/setup.py
@@ -9,7 +9,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
setup(
name='sphinx-markdown-tables',
- version='0.0.2',
+ version='0.0.3',
description='A Sphinx extension for rendering tables w... | sync reported version number with actual version number | ryanfox_sphinx-markdown-tables | train |
ea25aeec6b45d6e21319c4c95672cec33e18e6b3 | diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index <HASH>..<HASH> 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -1,5 +1,5 @@
# This configuration was generated by `rubocop --auto-gen-config`
-# on 2016-01-03 14:51:05 -0700 using RuboCop version 0.32.1.
+# on 2016-01-24 08:58:25 -0500 using RuboCop ve... | Refactored Command#parse. | slack-ruby_slack-ruby-bot | train |
52c139dcdcf906e868a20568508f4f2113ecfe61 | diff --git a/src/base-apis.js b/src/base-apis.js
index <HASH>..<HASH> 100644
--- a/src/base-apis.js
+++ b/src/base-apis.js
@@ -32,9 +32,9 @@ const utils = require("./utils");
function termsUrlForService(serviceType, baseUrl) {
switch (serviceType) {
case SERVICE_TYPES.IS:
- return baseUrl + ht... | Forgot /terms for ISes
and IMs shouldn't have a slash | matrix-org_matrix-js-sdk | train |
2a318b84a8b62da71a4dc2a83e58f385a50ac5eb | diff --git a/project_generator/commands/generate.py b/project_generator/commands/generate.py
index <HASH>..<HASH> 100644
--- a/project_generator/commands/generate.py
+++ b/project_generator/commands/generate.py
@@ -29,7 +29,7 @@ def run(args):
generated = True
for project in generator.generate(args.project):
... | Generator cmd checks if project has workspace_name attr before access. | project-generator_project_generator | train |
e0d8b2877acdf355e932dabaf6cf236bfa1f6218 | diff --git a/staticflatpages/middleware.py b/staticflatpages/middleware.py
index <HASH>..<HASH> 100644
--- a/staticflatpages/middleware.py
+++ b/staticflatpages/middleware.py
@@ -1,7 +1,8 @@
-from views import staticflatpage
from django.http import Http404
from django.conf import settings
+from .views import static... | Fixed an import to work on Python 3. | bradmontgomery_django-staticflatpages | train |
ebdb5694dda26572e472353ab40cf8f17d67eeca | diff --git a/jams/tests/namespace_tests.py b/jams/tests/namespace_tests.py
index <HASH>..<HASH> 100644
--- a/jams/tests/namespace_tests.py
+++ b/jams/tests/namespace_tests.py
@@ -505,6 +505,71 @@ def test_ns_tag_gtzan():
for tag in [23, None]:
yield raises(SchemaError)(__test), tag
+def test_ns_tag_msd_... | Added tag_msd_tagtraum_cd tests. | marl_jams | train |
e6d21ef73d399ae2d8128dc572f90c7cf980990d | diff --git a/views/js/test/ui/destination/selector/test.js b/views/js/test/ui/destination/selector/test.js
index <HASH>..<HASH> 100644
--- a/views/js/test/ui/destination/selector/test.js
+++ b/views/js/test/ui/destination/selector/test.js
@@ -124,7 +124,7 @@ define([
assert.equal($element.children('h2').te... | fixed unit test and reselection on continue | oat-sa_tao-core | train |
4fcd001cf7eebb26e4e0987f62c062187fd44767 | diff --git a/cumulusci/core/keychain/encrypted_file_project_keychain.py b/cumulusci/core/keychain/encrypted_file_project_keychain.py
index <HASH>..<HASH> 100644
--- a/cumulusci/core/keychain/encrypted_file_project_keychain.py
+++ b/cumulusci/core/keychain/encrypted_file_project_keychain.py
@@ -6,6 +6,7 @@ from pathlib ... | check new-alias doesn't exist when renaming a service | SFDO-Tooling_CumulusCI | train |
dea784bb51086e4f66e190546aa50f20e6043625 | diff --git a/colour_runner/result.py b/colour_runner/result.py
index <HASH>..<HASH> 100644
--- a/colour_runner/result.py
+++ b/colour_runner/result.py
@@ -62,7 +62,7 @@ class ColourTextTestResult(result.TestResult):
test_class = test.__class__
doc = test_class.__doc__
if self.descriptions and... | Fix empty test description in case of multiline __doc__
We often use multiline class level doc-comments:
```python
class TestCalc(TestCase):
"""
Test calc module.
"""
...
```
In this case getClassDescription would return first empty line of the comment and test cases would be displayed without ... | meshy_colour-runner | train |
5965fb4b51a856311d7e2c4ab13a2df7ed8e2604 | diff --git a/lib/poolparty/plugins/apache.rb b/lib/poolparty/plugins/apache.rb
index <HASH>..<HASH> 100644
--- a/lib/poolparty/plugins/apache.rb
+++ b/lib/poolparty/plugins/apache.rb
@@ -157,14 +157,16 @@ PassengerRuby <%= @node[:languages][:ruby][:ruby_bin] %>
end
def install_site(name, opts={})
... | Fix Apache#install_site to use an explicit sitename since 'name' gets evaluated in the local context inside the has_exec block | auser_poolparty | train |
4ce598bc1ceebff1dfe449bf3baccfbaa334ab50 | diff --git a/osbs/utils.py b/osbs/utils.py
index <HASH>..<HASH> 100644
--- a/osbs/utils.py
+++ b/osbs/utils.py
@@ -587,7 +587,8 @@ class Labels(object):
- LABEL_TYPE_RUN: command to run the image
- LABEL_TYPE_INSTALL: command to install the image
- LABEL_TYPE_UNINSTALL: command to uninstall the image
- ... | Define label com.redhat.delivery.operator.bundle
New label for new type of operators delivery.
* OSBS-<I> | projectatomic_osbs-client | train |
537ad68048b565f56c021b34e6fe6a875bd5dc58 | diff --git a/presto-main/src/main/java/com/facebook/presto/metadata/DiscoveryNodeManager.java b/presto-main/src/main/java/com/facebook/presto/metadata/DiscoveryNodeManager.java
index <HASH>..<HASH> 100644
--- a/presto-main/src/main/java/com/facebook/presto/metadata/DiscoveryNodeManager.java
+++ b/presto-main/src/main/j... | Make current node in Discovery immutable
It should never change, and this callsite is highly contended. | prestodb_presto | train |
4ef1fc234ae6b4b71a6fe7c4edad0006fd74fc24 | diff --git a/lib/gcli/ui/completer.js b/lib/gcli/ui/completer.js
index <HASH>..<HASH> 100644
--- a/lib/gcli/ui/completer.js
+++ b/lib/gcli/ui/completer.js
@@ -256,7 +256,7 @@ Object.defineProperty(Completer.prototype, 'emptyParameters', {
get: function() {
var params = [];
this.requisition.getAssignments()... | Bug <I> (noargfetch): A parameter is empty when there is no
text. It is not valid only when there is text that has a value | joewalker_gcli | train |
eab4fa0ae905d604345612ce148174223cb0f3fd | diff --git a/nicknack-server/src/main/java/com/oakcity/nicknack/server/services/impl/PlansEvaluatorServiceImpl.java b/nicknack-server/src/main/java/com/oakcity/nicknack/server/services/impl/PlansEvaluatorServiceImpl.java
index <HASH>..<HASH> 100644
--- a/nicknack-server/src/main/java/com/oakcity/nicknack/server/service... | Minor clenaup of println. | kmbulebu_NickNack | train |
a208fe98e670d25d9ec7d5b403a03852f4f09571 | diff --git a/typed-values/src/test/java/org/camunda/bpm/engine/test/variables/FileValueTypeImplTest.java b/typed-values/src/test/java/org/camunda/bpm/engine/test/variables/FileValueTypeImplTest.java
index <HASH>..<HASH> 100755
--- a/typed-values/src/test/java/org/camunda/bpm/engine/test/variables/FileValueTypeImplTest.... | test(file-values): case that provokes exception on lossy conversion
related to CAM-<I> | camunda_camunda-bpm-platform | train |
30ac46e9cf7c6c6bd3d2c673a273d3ed0ecaa0f4 | diff --git a/version/version.go b/version/version.go
index <HASH>..<HASH> 100644
--- a/version/version.go
+++ b/version/version.go
@@ -5,7 +5,7 @@ var (
Package = "github.com/containerd/containerd"
// Version holds the complete version number. Filled in at linking time.
- Version = "1.0.0-beta.3+unknown"
+ Versio... | Update version to <I>-rc<I> | containerd_containerd | train |
13b2c7403de4b0eeefbc236ae210bdaf85d7bf6f | diff --git a/send_queue_test.go b/send_queue_test.go
index <HASH>..<HASH> 100644
--- a/send_queue_test.go
+++ b/send_queue_test.go
@@ -1,16 +1,17 @@
package quic
import (
+ "github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("Send Queue", func() {
var q... | use a mock connection in the send queue tests | lucas-clemente_quic-go | train |
9f7410cdb2af577f0a3d47f157c51685c43939a6 | diff --git a/modules/custom/activity_send/modules/activity_send_email/src/Plugin/QueueWorker/ActivitySendEmailWorker.php b/modules/custom/activity_send/modules/activity_send_email/src/Plugin/QueueWorker/ActivitySendEmailWorker.php
index <HASH>..<HASH> 100644
--- a/modules/custom/activity_send/modules/activity_send_emai... | Issue #<I> by tBKoT: Check if activity related entity exists (#<I>) | goalgorilla_open_social | train |
7b1b7ce361d3689c56e42036ec105b5dc9a6dd89 | diff --git a/tests/test_google.py b/tests/test_google.py
index <HASH>..<HASH> 100644
--- a/tests/test_google.py
+++ b/tests/test_google.py
@@ -39,7 +39,7 @@ def test_issue_294():
def test_google_reverse():
g = geocoder.google(ottawa, method='reverse')
assert g.ok
- assert len(g) == 10
+ assert len(g) >... | made test_google more flexible | DenisCarriere_geocoder | train |
ba02c8cf1247563ea0d061571bf08760d2a7ac80 | diff --git a/src/Notifynder/NotifynderServiceProvider.php b/src/Notifynder/NotifynderServiceProvider.php
index <HASH>..<HASH> 100755
--- a/src/Notifynder/NotifynderServiceProvider.php
+++ b/src/Notifynder/NotifynderServiceProvider.php
@@ -298,6 +298,9 @@ class NotifynderServiceProvider extends ServiceProvider
... | Issue #<I>
The migration should be published and not just existing ... | fenos_Notifynder | train |
0342cbdce0adbc37783f5e0ab7778b348c9cbebc | diff --git a/RAKE/RAKE.py b/RAKE/RAKE.py
index <HASH>..<HASH> 100644
--- a/RAKE/RAKE.py
+++ b/RAKE/RAKE.py
@@ -79,7 +79,7 @@ def split_sentences(text):
Utility function to return a list of sentences.
@param text The text that must be split in to sentences.
"""
- sentence_delimiters = re.compile('[.!?,... | Fix Issue #<I> - Split words on U (#<I>)
The regex-string is not in Unicode, thus the \u... control sequence does have unexpected behaviour.
Just try split_sentences("restaurant"), it will return ["resta", "rant"], which is obviously bad.
Adding a simple u to the Regex, will force python to interpret it in unicode... | fabianvf_python-rake | train |
1ccf3a875dd704e62dd4141afa3fcc01d79097b5 | diff --git a/db.go b/db.go
index <HASH>..<HASH> 100644
--- a/db.go
+++ b/db.go
@@ -1557,11 +1557,10 @@ func (db *DB) prepareToDrop() (func(), error) {
// writes are paused before running DropAll, and resumed after it is finished.
func (db *DB) DropAll() error {
f, err := db.dropAll()
- if err != nil {
- return err... | Various bug fixes: Break up list and run DropAll func (#<I>)
* Run the returned func even on error, if the func is not nil.
* Break up keys from a single list output to avoid sending a
HUGE batch which can exceed Grpc limits. | dgraph-io_badger | train |
dbd3fd05dacdcd30f455026d9b4f330eb7114fe1 | diff --git a/src/plugins/fallback_multisource.js b/src/plugins/fallback_multisource.js
index <HASH>..<HASH> 100644
--- a/src/plugins/fallback_multisource.js
+++ b/src/plugins/fallback_multisource.js
@@ -5,9 +5,8 @@ import Events from 'base/events'
export default class FallbackMultiSource extends CorePlugin {
get na... | fallback: listen for containers created event | clappr_clappr | train |
1520cfffbc5c815f7c605dc70d88af643ab6e42c | diff --git a/lib/redfish/interpreter/pre_interpreter.rb b/lib/redfish/interpreter/pre_interpreter.rb
index <HASH>..<HASH> 100644
--- a/lib/redfish/interpreter/pre_interpreter.rb
+++ b/lib/redfish/interpreter/pre_interpreter.rb
@@ -32,13 +32,10 @@ module Redfish #nodoc
if %w(javax.jms.ConnectionFactory java... | Make sure resources are only copied to the pool. | realityforge_redfish | train |
66c0db3cddc5b8074fc2291da978a7cae860e0ec | diff --git a/js/base/Exchange.js b/js/base/Exchange.js
index <HASH>..<HASH> 100644
--- a/js/base/Exchange.js
+++ b/js/base/Exchange.js
@@ -78,7 +78,6 @@ module.exports = class Exchange {
'createLimitOrder': true,
'createMarketOrder': true,
'createOrder': true,
- ... | remove `deposit` from unified list. | ccxt_ccxt | train |
d194ada0cdf4c660d7b97d6e49e961257006f64c | diff --git a/src/main/java/com/soulgalore/web/performance/navigation/NavigationTiming.java b/src/main/java/com/soulgalore/web/performance/navigation/NavigationTiming.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/soulgalore/web/performance/navigation/NavigationTiming.java
+++ b/src/main/java/com/soulgalore/we... | time spent for msFirstPaint | sitespeedio_browsertime | train |
ef019c5e6443e83a77fe3260e246acd8fbe3b946 | diff --git a/src/Relations/BelongsToThrough.php b/src/Relations/BelongsToThrough.php
index <HASH>..<HASH> 100644
--- a/src/Relations/BelongsToThrough.php
+++ b/src/Relations/BelongsToThrough.php
@@ -133,6 +133,10 @@ class BelongsToThrough extends Relation
protected function setSoftDeletes()
{
foreach... | Fixed relation never finding anything when parent is soft deleted | staudenmeir_belongs-to-through | train |
ce95ed2105b7a444e4e97eac5ef33ffff563df6c | diff --git a/src/Runtime.php b/src/Runtime.php
index <HASH>..<HASH> 100644
--- a/src/Runtime.php
+++ b/src/Runtime.php
@@ -107,6 +107,7 @@ class Runtime
* @param array|string|boolean|integer|double|null $in current context
* @param array<array|string|integer> $base current variable context
* @param ar... | now can execute lambda with arguments | zordius_lightncandy | train |
f02a5496f47cd99a7076198cd1a38a0cb0a07809 | diff --git a/src/Arrays.php b/src/Arrays.php
index <HASH>..<HASH> 100644
--- a/src/Arrays.php
+++ b/src/Arrays.php
@@ -475,27 +475,13 @@ final class Arrays
public static function changeKeyCase(array $input, int $case = self::CASE_LOWER) : array
{
if ($case & self::CASE_UNDERSCORE) {
- $cop... | Refactor Arrays::changeKeyCase | traderinteractive_util-arrays-php | train |
d6d5f975b150d91b8bd47490b445e2328ef7eb79 | diff --git a/sonar-server/src/main/java/org/sonar/server/configuration/Backup.java b/sonar-server/src/main/java/org/sonar/server/configuration/Backup.java
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/java/org/sonar/server/configuration/Backup.java
+++ b/sonar-server/src/main/java/org/sonar/server/configurati... | SONAR-<I> NPE in config backup | SonarSource_sonarqube | train |
654f618bb333880b7c763aaad0e66c07f9138807 | diff --git a/tests/FunctionalSecureServerTest.php b/tests/FunctionalSecureServerTest.php
index <HASH>..<HASH> 100644
--- a/tests/FunctionalSecureServerTest.php
+++ b/tests/FunctionalSecureServerTest.php
@@ -421,7 +421,7 @@ class FunctionalSecureServerTest extends TestCase
$error = Block\await($errorEvent, $loo... | Use dedicated assertInstanceOf assertion | reactphp_socket | train |
4d0e6fd4fad0bdf9cb99a23959f2b4747e23041f | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -146,12 +146,35 @@ Or assign it to a specific namespace:
Resugan::Kernel.register_dispatcher(MyCustomerDispatcher, 'CustomGroup')
```
+## Debugging
+
+Sometimes you need to track where events are fired. You can do so... | Added support for debugging line sources | jedld_resugan | train |
2be1baa41a170192c209c94b060d0d034d1de2c2 | diff --git a/tests/linalg_test.py b/tests/linalg_test.py
index <HASH>..<HASH> 100644
--- a/tests/linalg_test.py
+++ b/tests/linalg_test.py
@@ -44,25 +44,27 @@ complex_types = [np.complex64, np.complex128]
# Used in tests for det and lu
-singular_mats = [
- jnp.array([[ 50, -30, 45], # rank-2, corank-1
- ... | linalg_test: define test matrices lazily (#<I>) | tensorflow_probability | train |
4691b0ab4907c586f484e57acbc5c7edb4d6aff2 | diff --git a/build/rakefile.rb b/build/rakefile.rb
index <HASH>..<HASH> 100644
--- a/build/rakefile.rb
+++ b/build/rakefile.rb
@@ -5,8 +5,8 @@ task :build => [:downloadApiSpec, :buildDotNet]
task :deploy => [:downloadApiSpec, :deployDotNet]
task :downloadApiSpec do
- puts 'Downloading the API spec...'
- Net::... | Added a CI build for the web api samples. | ReachmailInc_WebAPISamples | train |
9ad145b8b5e28249df45a1e8ba17c4bd796614b7 | diff --git a/airflow/api/common/experimental/delete_dag.py b/airflow/api/common/experimental/delete_dag.py
index <HASH>..<HASH> 100644
--- a/airflow/api/common/experimental/delete_dag.py
+++ b/airflow/api/common/experimental/delete_dag.py
@@ -17,6 +17,8 @@
# specific language governing permissions and limitations
# u... | [AIRFLOW-<I>] Removed Dagbag from delete dag (#<I>)
* Removed Dagbag from delete dag
* delete when fileloc does not exist | apache_airflow | train |
6cfd296a86c1b475101c179a45a7453b76dcbfd5 | diff --git a/riak/util.py b/riak/util.py
index <HASH>..<HASH> 100644
--- a/riak/util.py
+++ b/riak/util.py
@@ -1,8 +1,12 @@
-import collections
+try:
+ from collections import Mapping
+except ImportError:
+ # compatibility with Python 2.5
+ Mapping = dict
def quacks_like_dict(object):
"""Check if objec... | Adjust for compatibility with Python <I> | basho_riak-python-client | train |
925ef834375cec62a2320403720495e2a6c12992 | diff --git a/dbpool/src/test/java/com/proofpoint/dbpool/TestH2EmbeddedDataSourceModule.java b/dbpool/src/test/java/com/proofpoint/dbpool/TestH2EmbeddedDataSourceModule.java
index <HASH>..<HASH> 100644
--- a/dbpool/src/test/java/com/proofpoint/dbpool/TestH2EmbeddedDataSourceModule.java
+++ b/dbpool/src/test/java/com/pro... | Cosmetic changes after reformatting with IDEA style file | airlift_airlift | train |
9327b64b6797eda5eaaf8b48eefc0f14ad5965b7 | diff --git a/src/assegai/AppEngine.php b/src/assegai/AppEngine.php
index <HASH>..<HASH> 100644
--- a/src/assegai/AppEngine.php
+++ b/src/assegai/AppEngine.php
@@ -462,7 +462,7 @@ namespace assegai {
function loadAppModules($app) {
if($this->conf->get('modules')
- && is_array($this->co... | Made assegai load app modules even when the global conf has no modules defined. | Etenil_assegai | train |
f519ec50cc1f75e64bceeae36b2ce80f29f20ee9 | diff --git a/pkg/drivers/kic/oci/network_create.go b/pkg/drivers/kic/oci/network_create.go
index <HASH>..<HASH> 100644
--- a/pkg/drivers/kic/oci/network_create.go
+++ b/pkg/drivers/kic/oci/network_create.go
@@ -172,8 +172,12 @@ type networkInspect struct {
}
var dockerInsepctGetter = func(name string) (*RunResult, ... | support ancient versions of docker again (template parsing issue) | kubernetes_minikube | train |
5772ea210c9968b9df0a4c82029385567fa05161 | diff --git a/ui/mirage/factories/storage-controller.js b/ui/mirage/factories/storage-controller.js
index <HASH>..<HASH> 100644
--- a/ui/mirage/factories/storage-controller.js
+++ b/ui/mirage/factories/storage-controller.js
@@ -7,7 +7,7 @@ export default Factory.extend({
provider: faker.helpers.randomize(STORAGE_PROV... | Add cycling to factory healthy flags
This is meant to address the plugin test failure seen here:
<URL> | hashicorp_nomad | train |
9238fcda8f22369353fc2384435073839d3d819d | diff --git a/core/src/main/java/com/dtolabs/rundeck/core/authorization/AclRuleBuilder.java b/core/src/main/java/com/dtolabs/rundeck/core/authorization/AclRuleBuilder.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/com/dtolabs/rundeck/core/authorization/AclRuleBuilder.java
+++ b/core/src/main/java/com/dtolabs/... | fix use of sourceIdentity for rules builder | rundeck_rundeck | train |
0e4f4fd2d6469f309cdb2ce21e458b7a502b11be | diff --git a/txaws/s3/client.py b/txaws/s3/client.py
index <HASH>..<HASH> 100644
--- a/txaws/s3/client.py
+++ b/txaws/s3/client.py
@@ -223,7 +223,6 @@ class Query(BaseQuery):
# 2) txAWS doesn't currently unfold long headers
return "".join("%s:%s\n" % (name, value) for name, value in headers)
- # ... | Added unit tests for get_canonicalized_resource. | twisted_txaws | train |
b7a6fa11601ca609d41d33769161e61b4714802a | diff --git a/docs/metrics.md b/docs/metrics.md
index <HASH>..<HASH> 100644
--- a/docs/metrics.md
+++ b/docs/metrics.md
@@ -370,6 +370,9 @@ your (infrequent) updates. Any points revcieved for a chunk that has already be
* `tank.discarded.sample-out-of-order`:
points that go back in time beyond the scope of the opti... | add a metric counting points rejected because too far ahead | grafana_metrictank | train |
cacebf9c06118cee39aee01ba143f9c4d270a9b3 | diff --git a/src/bbn/User.php b/src/bbn/User.php
index <HASH>..<HASH> 100644
--- a/src/bbn/User.php
+++ b/src/bbn/User.php
@@ -2080,6 +2080,16 @@ class User extends Models\Cls\Basic
*/
protected function findByPhoneNumber(string $phone_number)
{
+ try {
+ $phone = \Brick\PhoneNumber\PhoneNumber::parse... | Added PhoneNumberFormat to findByPhoneNumber method | nabab_bbn | train |
ff26d3b7b0ed482c166d396560b9b9b89e9b20cd | diff --git a/sortinghat/db/model.py b/sortinghat/db/model.py
index <HASH>..<HASH> 100644
--- a/sortinghat/db/model.py
+++ b/sortinghat/db/model.py
@@ -239,7 +239,7 @@ class Profile(ModelBase):
}
def __repr__(self):
- return "%s - %s (%s)" % (self.uuid, self.name)
+ return "%s - %s (%s)" % ... | [model] Fix wrong __repr__ in Profile
Invalid data were given for the representation of a Profile
object. | chaoss_grimoirelab-sortinghat | train |
4e9360ba768fe80d7fbe0b85195cfea91497cae5 | diff --git a/push_notifications/api/rest_framework.py b/push_notifications/api/rest_framework.py
index <HASH>..<HASH> 100644
--- a/push_notifications/api/rest_framework.py
+++ b/push_notifications/api/rest_framework.py
@@ -3,6 +3,7 @@ from __future__ import absolute_import
from django.db.backends.base.operations impor... | Duplicate registration_ids for GCM Devices no longer allowed
There are some unresolved database limitations related to
the maximum allowed size of a GCM registration_id that
are causing client issues. This commit addresses the
issue for clients by applying validation at the API layer
for now. However, it is still poss... | jazzband_django-push-notifications | train |
193334e0ce5ff771177cc7a95ea98ca36062a1bc | diff --git a/go/vt/worker/split_clone.go b/go/vt/worker/split_clone.go
index <HASH>..<HASH> 100644
--- a/go/vt/worker/split_clone.go
+++ b/go/vt/worker/split_clone.go
@@ -665,7 +665,12 @@ func (scw *SplitCloneWorker) processData(td *myproto.TableDefinition, tableIndex
if len(sr[i]) > 0 {
cmd := baseCmd + mak... | Also listening on abort channel for writes in workers.
That way if there is an error, we don't get stuck forever. | vitessio_vitess | train |
4403e37c977969e00e06cd53edc8b17882f60087 | diff --git a/lib/active_admin/pages/edit.rb b/lib/active_admin/pages/edit.rb
index <HASH>..<HASH> 100644
--- a/lib/active_admin/pages/edit.rb
+++ b/lib/active_admin/pages/edit.rb
@@ -13,7 +13,11 @@ module ActiveAdmin
:url => resource_path(resource)
})
- active_admin_form_for resource, confi... | Pass :partial to form configs to render a partial instead of using the DSL. | activeadmin_activeadmin | train |
a51156e7d5ead6b0fad2435a4de28eb981b84712 | diff --git a/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java b/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java
index <HASH>..<HASH> 100644
--- a/library/src/main/java/com/andexert/expandablelayout/library/ExpandableLayout.java
+++ b/library/src/main/ja... | [FUNC] add open, close and isOpened methods | traex_ExpandableLayout | train |
cf6cf0a6c6b628c0bf814f4a7fa12c7798bccb9d | diff --git a/src/Mailer/Transport/SendgridTransport.php b/src/Mailer/Transport/SendgridTransport.php
index <HASH>..<HASH> 100644
--- a/src/Mailer/Transport/SendgridTransport.php
+++ b/src/Mailer/Transport/SendgridTransport.php
@@ -89,7 +89,7 @@ class SendgridTransport extends AbstractTransport
));
... | Fix returning data. The body from sendgrid is empty when mail is successful send | Iandenh_cakephp-sendgrid | train |
ab6343e890a40957a96d2d4f0e92bdac2bf5f301 | diff --git a/lib/custom_fields/types/has_many.rb b/lib/custom_fields/types/has_many.rb
index <HASH>..<HASH> 100644
--- a/lib/custom_fields/types/has_many.rb
+++ b/lib/custom_fields/types/has_many.rb
@@ -43,7 +43,7 @@ module CustomFields
klass.has_many rule['name'], class_name: rule['class_name'], inverse_o... | bypass the default order_by if another one is specified when filtering the entries of a has_many relationship | locomotivecms_custom_fields | train |
2c0a0c16099264057a6dd848362ff4d79b4aa2af | diff --git a/browserscripts/timings/largestContentfulPaint.js b/browserscripts/timings/largestContentfulPaint.js
index <HASH>..<HASH> 100644
--- a/browserscripts/timings/largestContentfulPaint.js
+++ b/browserscripts/timings/largestContentfulPaint.js
@@ -8,10 +8,10 @@
duration: largestEntry.duration,
id: ... | Fix so LCP times are reported as number (not strings) (#<I>) | sitespeedio_browsertime | train |
f2673cc810cdbd4f663058fdb302893704345870 | diff --git a/tests/test_manhole_cli.py b/tests/test_manhole_cli.py
index <HASH>..<HASH> 100644
--- a/tests/test_manhole_cli.py
+++ b/tests/test_manhole_cli.py
@@ -17,6 +17,8 @@ except ImportError:
TIMEOUT = int(os.getenv('MANHOLE_TEST_TIMEOUT', 10))
HELPER = os.path.join(os.path.dirname(__file__), 'helper.py')
+pyt... | Glob out the signumbers. | ionelmc_python-manhole | train |
106ba98d64f2904053fd8dc86d15bca0a657546d | diff --git a/src/main/java/edu/ksu/canvas/CanvasApiFactory.java b/src/main/java/edu/ksu/canvas/CanvasApiFactory.java
index <HASH>..<HASH> 100644
--- a/src/main/java/edu/ksu/canvas/CanvasApiFactory.java
+++ b/src/main/java/edu/ksu/canvas/CanvasApiFactory.java
@@ -168,6 +168,8 @@ public class CanvasApiFactory {
... | Add essential report classes to the API factory | kstateome_canvas-api | train |
9fa4dbee6e0e54d07831730b0c7f842295384e85 | diff --git a/node/getURL.js b/node/getURL.js
index <HASH>..<HASH> 100644
--- a/node/getURL.js
+++ b/node/getURL.js
@@ -3,10 +3,12 @@ var WritableStream = require("./WritableStream.js"),
url = require("url"),
processData = require("./process.js");
-module.exports = function(uri, format, cb){
- if(typeof format ===... | improved API of .get
it now accepts a settings object | fb55_readabilitySAX | train |
6525636f4ecdbd40416ff55f24f41d55c58e60cb | diff --git a/test_winshell.py b/test_winshell.py
index <HASH>..<HASH> 100644
--- a/test_winshell.py
+++ b/test_winshell.py
@@ -443,7 +443,7 @@ class TestRecycler (test_base.TestCase):
break
else:
raise RuntimeError ("%s not found in recycle_bin" % self.tempfile)
- self.assertIsInstance (item, wi... | ... and still more, making RecycledItem into ShellRecycledItem for consistency's sake. (It's basically an internal structure so it doesn't matter too much but...) | tjguk_winshell | train |
bbe9b60124682609ee6e5e681c7fd59e29797a97 | diff --git a/src/Command/LsCommand.php b/src/Command/LsCommand.php
index <HASH>..<HASH> 100644
--- a/src/Command/LsCommand.php
+++ b/src/Command/LsCommand.php
@@ -18,9 +18,11 @@ use RecursiveIteratorIterator;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use S... | Improved "puli ls" to produce output similar to "ls" | puli_cli | train |
d492c196f5d7fbaf9bc7cb6116f14ad34f0a8046 | diff --git a/test/unit/ui/Component.test.js b/test/unit/ui/Component.test.js
index <HASH>..<HASH> 100644
--- a/test/unit/ui/Component.test.js
+++ b/test/unit/ui/Component.test.js
@@ -13,13 +13,27 @@ var $ = require('../../../util/jquery');
QUnit.uiModule('ui/Component');
var TestComponent = Component.extend({
+ sp... | Added a Component test revealing an issue with preservative rendering. | substance_substance | train |
e36675ce72f120ab7d053eeaab9c1268e11ed18e | diff --git a/src/you_get/extractors/youtube.py b/src/you_get/extractors/youtube.py
index <HASH>..<HASH> 100644
--- a/src/you_get/extractors/youtube.py
+++ b/src/you_get/extractors/youtube.py
@@ -207,8 +207,7 @@ class YouTube(VideoExtractor):
raise
elif video_info['status'] == ['ok']:
... | Fix bug: unable get video title | soimort_you-get | train |
c10205a0cbf1fdb0de86f1759b4508a91b35c03c | diff --git a/src/Generators/Webserver/Database/DatabaseGenerator.php b/src/Generators/Webserver/Database/DatabaseGenerator.php
index <HASH>..<HASH> 100644
--- a/src/Generators/Webserver/Database/DatabaseGenerator.php
+++ b/src/Generators/Webserver/Database/DatabaseGenerator.php
@@ -80,7 +80,7 @@ class DatabaseGenerator... | [skip ci] revert previous | tenancy_multi-tenant | train |
cc42027a92cddaa1289e134868d2e6f4381573ca | diff --git a/hikaricp-java6/src/main/java/com/zaxxer/hikari/pool/HikariPool.java b/hikaricp-java6/src/main/java/com/zaxxer/hikari/pool/HikariPool.java
index <HASH>..<HASH> 100644
--- a/hikaricp-java6/src/main/java/com/zaxxer/hikari/pool/HikariPool.java
+++ b/hikaricp-java6/src/main/java/com/zaxxer/hikari/pool/HikariPoo... | Mmake HikariPool.getConnection() a little tighter (and more readable). | brettwooldridge_HikariCP | train |
24fa57594f24d3cb8d6eec60f0cb3ab6834fb790 | diff --git a/controller/src/main/java/org/jboss/as/controller/ProxyStepHandler.java b/controller/src/main/java/org/jboss/as/controller/ProxyStepHandler.java
index <HASH>..<HASH> 100644
--- a/controller/src/main/java/org/jboss/as/controller/ProxyStepHandler.java
+++ b/controller/src/main/java/org/jboss/as/controller/Pro... | [WFCORE-<I>] Before proxying wildcard read-resource/attribute to EAP 6, delegate to local handling | wildfly_wildfly-core | train |
7d69c8bfa954338dc432adce68ce632c93229370 | diff --git a/opal/browser/dom/element.rb b/opal/browser/dom/element.rb
index <HASH>..<HASH> 100644
--- a/opal/browser/dom/element.rb
+++ b/opal/browser/dom/element.rb
@@ -7,6 +7,8 @@ class Element < Node
include Event::Target
+ alias_native :id, :id
+
def add_class(name)
`#@native.className = #{class_na... | dom/element: use alias_native for some things | opal_opal-browser | train |
097f099057478c509aafc00c98860866038772da | diff --git a/src/main/java/org/primefaces/renderkit/OutcomeTargetRenderer.java b/src/main/java/org/primefaces/renderkit/OutcomeTargetRenderer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/primefaces/renderkit/OutcomeTargetRenderer.java
+++ b/src/main/java/org/primefaces/renderkit/OutcomeTargetRenderer.java
@... | FIx #<I>: OutcomeTargetRenderer NPE guard (#<I>) | primefaces_primefaces | train |
fd6b3898416de161c036b80408bc3dbf6b694dcc | diff --git a/lib/mobility/backends/sequel/pg_hash.rb b/lib/mobility/backends/sequel/pg_hash.rb
index <HASH>..<HASH> 100644
--- a/lib/mobility/backends/sequel/pg_hash.rb
+++ b/lib/mobility/backends/sequel/pg_hash.rb
@@ -3,6 +3,7 @@ require "mobility/util"
require "mobility/backends/sequel"
require "mobility/backends/h... | Sequel pg_hash require hash_initializer | shioyama_mobility | train |
51483510f28fbc4333fc3eda35f1eeeff0284ca0 | diff --git a/src/ef-cf.py b/src/ef-cf.py
index <HASH>..<HASH> 100755
--- a/src/ef-cf.py
+++ b/src/ef-cf.py
@@ -97,6 +97,25 @@ def handle_args_and_set_context(args):
context.service_registry = EFServiceRegistry(parsed_args["sr"])
return context
+def resolve_template(template, profile, env, region, service, verbo... | render cf parameter files as well as templates (#<I>) | crunchyroll_ef-open | train |
b8e1c9539907b177a7dac66c95304c0dbe91475f | diff --git a/storage/file.go b/storage/file.go
index <HASH>..<HASH> 100644
--- a/storage/file.go
+++ b/storage/file.go
@@ -36,7 +36,7 @@ func NewFile(baseDir string) ClientImplCloser {
}
func NewFileWithCompletion(baseDir string, completion PieceCompletion) *fileClientImpl {
- return newFileWithCustomPathMakerAndCo... | Allows one to use Custom PieceCompletion (#<I>)
* Change ClientImpl to ClientImplCloser
We cannot close underlying Boltdb PieceCompletion if it is not closable
* Update file.go | anacrolix_torrent | train |
fbc662a7ccfa50aab017ef0546b967dc13bdc361 | diff --git a/osbs/utils/yaml.py b/osbs/utils/yaml.py
index <HASH>..<HASH> 100644
--- a/osbs/utils/yaml.py
+++ b/osbs/utils/yaml.py
@@ -39,23 +39,43 @@ def read_yaml(yaml_data, schema, package=None):
:param schema: string, file path to the JSON schema
:package: string, package name containing the schema
"... | Split `utils/yaml.py::read_yaml()` into `read_yaml()` and
`validate_yaml()`, making it possible to use a schema not
read from a file
Also factor schema file handling out into `load_schema()` | projectatomic_osbs-client | train |
3bfea2e8d1542f529d0a1fb395f58112d2ddabc1 | diff --git a/src/Models/PointActivity.php b/src/Models/PointActivity.php
index <HASH>..<HASH> 100644
--- a/src/Models/PointActivity.php
+++ b/src/Models/PointActivity.php
@@ -26,6 +26,15 @@ class PointActivity extends Model
}
/**
+ * 這個點數關聯的點數規則
+ *
+ */
+ public function rule()
+ {
+ ... | [Fix] is point id not point rule id | Panigale_laravel5-Points | train |
0f0a43f842151aafa65b6d622abd7ed188f80611 | diff --git a/android/src/main/java/com/horcrux/svg/ImageView.java b/android/src/main/java/com/horcrux/svg/ImageView.java
index <HASH>..<HASH> 100644
--- a/android/src/main/java/com/horcrux/svg/ImageView.java
+++ b/android/src/main/java/com/horcrux/svg/ImageView.java
@@ -193,13 +193,6 @@ class ImageView extends Renderab... | [android] Fix rendering of images, matrix transform applied twice | react-native-community_react-native-svg | train |
12467204a59f819b9af17fc23790e1444f8e61cb | diff --git a/src/Util/FileRouter.php b/src/Util/FileRouter.php
index <HASH>..<HASH> 100644
--- a/src/Util/FileRouter.php
+++ b/src/Util/FileRouter.php
@@ -40,14 +40,25 @@ class FileRouter {
// /wa4e/install returns install.php if the file exists
public function fileCheck($uri=null) {
+ global $TSUGI_... | Allow for /privacy/extra in FileRouter | tsugiproject_tsugi-php | train |
2ae1a4a440a60ae0bd9e80c549c2aed7573b90ed | diff --git a/src/NodeVisitor/FullyQualifiedNamespaceUseScoperNodeVisitor.php b/src/NodeVisitor/FullyQualifiedNamespaceUseScoperNodeVisitor.php
index <HASH>..<HASH> 100644
--- a/src/NodeVisitor/FullyQualifiedNamespaceUseScoperNodeVisitor.php
+++ b/src/NodeVisitor/FullyQualifiedNamespaceUseScoperNodeVisitor.php
@@ -40,7 ... | Properly scope fully-qualified class name nodes (#<I>)
Properly scope fully-qualified class name nodes and fix unrelated bug stripping \ from start of FQN
Closes #<I> | humbug_php-scoper | train |
08ce1042888a46207e79070f4126f946ecced82e | diff --git a/lib/que/poller.spec.rb b/lib/que/poller.spec.rb
index <HASH>..<HASH> 100644
--- a/lib/que/poller.spec.rb
+++ b/lib/que/poller.spec.rb
@@ -152,5 +152,45 @@ describe Que::Poller do
threads.each(&:join)
end
- it "should_poll? should exhibit reasonable behavior"
+ describe "should_poll?" do
+ le... | Spec the behavior of should_poll? | chanks_que | train |
9b0d235554a99afefcdcc31d363bd11ff5f3dada | diff --git a/pkg/apis/kops/v1alpha2/defaults.go b/pkg/apis/kops/v1alpha2/defaults.go
index <HASH>..<HASH> 100644
--- a/pkg/apis/kops/v1alpha2/defaults.go
+++ b/pkg/apis/kops/v1alpha2/defaults.go
@@ -46,25 +46,28 @@ func SetDefaults_ClusterSpec(obj *ClusterSpec) {
obj.Topology.DNS.Type = DNSTypePublic
}
- if obj.... | Don't apply spec.api defaults on OS
Openstack can use floating IPs as master API address. Setting these defauls and using floating ips ends up in a nil pointer error somewhere in the lbaasv2 code | kubernetes_kops | train |
3ce46e39be16ad178f33d8dea6b1de4458fc08a4 | diff --git a/identify/identify.py b/identify/identify.py
index <HASH>..<HASH> 100644
--- a/identify/identify.py
+++ b/identify/identify.py
@@ -3,7 +3,6 @@ from __future__ import absolute_import
from __future__ import unicode_literals
import os.path
-import re
import shlex
import string
@@ -12,7 +11,6 @@ from id... | No need to use regular expressions to split by whitespace | chriskuehl_identify | train |
1fc9c6c3857c8b270f1b46873868b2c9f6961dfa | diff --git a/simple_model/fields.py b/simple_model/fields.py
index <HASH>..<HASH> 100644
--- a/simple_model/fields.py
+++ b/simple_model/fields.py
@@ -64,7 +64,6 @@ class ModelField:
except AttributeError:
pass
- self.validate(instance, value)
return clean_value
def valida... | Fix Model.clean() to call Model.validate() instead of delegating this to fields | lamenezes_simple-model | train |
6397a96ba171770a805605a645648646b2c1c6e8 | diff --git a/src/Air/AirValidator.js b/src/Air/AirValidator.js
index <HASH>..<HASH> 100644
--- a/src/Air/AirValidator.js
+++ b/src/Air/AirValidator.js
@@ -129,11 +129,23 @@ Validator.prototype.pricingSolutionXML = function () {
// convert all passenger birth dates from DDmmmYY into YYYY-MM-DD
Validator.prototype.pass... | Generating SSR duting validation. | Travelport-Ukraine_uapi-json | train |
c5314e45ae20d5e64b9129486ef727ebc7ff4d2f | diff --git a/lib/EasyCSV/Reader.php b/lib/EasyCSV/Reader.php
index <HASH>..<HASH> 100644
--- a/lib/EasyCSV/Reader.php
+++ b/lib/EasyCSV/Reader.php
@@ -4,13 +4,17 @@ namespace EasyCSV;
class Reader extends AbstractBase
{
+ private
+ $headers_in_first_row = true;
+
private $_headers;
private $_line;
- ... | Made headers optional, sorry but there is a usecase even if it is stupid | jwage_easy-csv | train |
6898498ff289002337e9b4b14664c8ba06595b82 | diff --git a/integration/shared/isolated/update_user_provided_service_command_test.go b/integration/shared/isolated/update_user_provided_service_command_test.go
index <HASH>..<HASH> 100644
--- a/integration/shared/isolated/update_user_provided_service_command_test.go
+++ b/integration/shared/isolated/update_user_provid... | Fix Windows path issues in test
The test uses a temporary file which on a Windows system will contain
backslashes, which have a special meaning in a regular expression that
gbytes.Say() tries to use. The solution is to use ContainSubstring()
which does not expect a regular expression. | cloudfoundry_cli | train |
89fbd4c2bf6d69a7e3e91be4e5c9e738d24f6958 | diff --git a/system/src/Grav/Common/Twig/TwigExtension.php b/system/src/Grav/Common/Twig/TwigExtension.php
index <HASH>..<HASH> 100644
--- a/system/src/Grav/Common/Twig/TwigExtension.php
+++ b/system/src/Grav/Common/Twig/TwigExtension.php
@@ -75,6 +75,7 @@ class TwigExtension extends \Twig_Extension
new \T... | Added a regex_replace twig filter/function | getgrav_grav | train |
f638d8de57a7a5023dbe715007e8823a36e475e9 | diff --git a/lib/job_processor.rb b/lib/job_processor.rb
index <HASH>..<HASH> 100644
--- a/lib/job_processor.rb
+++ b/lib/job_processor.rb
@@ -7,6 +7,7 @@ module Workerholic
class JobProcessor
def initialize(serialized_job)
@serialized_job = serialized_job
+ @log_manager = LogManager.new
end
... | Job processor now instantiates one instance instead of multiple. | workerholic_workerholic | train |
d49aa76d5e0d3be7b836df79349639e3f639d4f2 | diff --git a/archook/archook.py b/archook/archook.py
index <HASH>..<HASH> 100644
--- a/archook/archook.py
+++ b/archook/archook.py
@@ -61,11 +61,16 @@ def get_arcpy(pro=False):
'''
install_dir = locate_arcgis(pro)
if pro:
- os.environ['PATH'] = ';'.join((os.path.join(install_dir, 'bin'), os.enviro... | Fix for numpy ImportError
- If numpy is not installed in the current Python interpreter's site-packages, the version of numpy installed in ArcGIS Pro's conda environment will be used, but this requires PATH modifications for arcpy to be imported successfully; this fix adds the Library\bin directory in that environme... | JamesRamm_archook | train |
c23fe968dd3ffdf84534729276f9fffd0d093774 | diff --git a/datatableview/views/base.py b/datatableview/views/base.py
index <HASH>..<HASH> 100644
--- a/datatableview/views/base.py
+++ b/datatableview/views/base.py
@@ -232,6 +232,11 @@ class MultipleDatatableMixin(DatatableJSONResponseMixin):
kwargs = kwargs_getter(**kwargs)
if ... | Move applicable kwargs to opts for synthesis
This has been the way the normal view works, but the multi view was
neglected. | pivotal-energy-solutions_django-datatable-view | train |
9fc0afa1c1363803a420861334af880900635984 | diff --git a/src/main/java/org/symphonyoss/symphony/messageml/elements/Button.java b/src/main/java/org/symphonyoss/symphony/messageml/elements/Button.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/symphonyoss/symphony/messageml/elements/Button.java
+++ b/src/main/java/org/symphonyoss/symphony/messageml/elemen... | MML-<I> Element Button - Allow more class into the messageml-utils (#<I>) | symphonyoss_messageml-utils | train |
b951da47c62c1dbeac2d8a66c8b54de1beef9c16 | diff --git a/go/vt/tabletserver/schema_info.go b/go/vt/tabletserver/schema_info.go
index <HASH>..<HASH> 100644
--- a/go/vt/tabletserver/schema_info.go
+++ b/go/vt/tabletserver/schema_info.go
@@ -244,12 +244,6 @@ func (si *SchemaInfo) Reload() {
tableName := row[0].String()
si.updateLastChange(row[2])
log.Infof... | Fixing a race condition in schema reload. | vitessio_vitess | train |
95cbdfed405b43f6168b0f69399a2bae88609b69 | diff --git a/hotdoc/utils/loggable.py b/hotdoc/utils/loggable.py
index <HASH>..<HASH> 100644
--- a/hotdoc/utils/loggable.py
+++ b/hotdoc/utils/loggable.py
@@ -367,4 +367,3 @@ if ENV_VERBOSITY is not None:
Logger.register_error_code('invalid-config', ConfigError)
Logger.register_error_code('setup-issue', ConfigError)
... | Revert setting silent=True
This should never have been the default | hotdoc_hotdoc | train |
430cc15347aac298468c25432cbfbe666d56bfd2 | diff --git a/lib/mongoid/relations/bindings/referenced/many_to_many.rb b/lib/mongoid/relations/bindings/referenced/many_to_many.rb
index <HASH>..<HASH> 100644
--- a/lib/mongoid/relations/bindings/referenced/many_to_many.rb
+++ b/lib/mongoid/relations/bindings/referenced/many_to_many.rb
@@ -26,8 +26,11 @@ module Mongoid... | Fixed the incredibly irritating infinite loop when reloading many to many relations | mongodb_mongoid | train |
5c1e203f099470d8d66ec44be8446b04d8461169 | diff --git a/cqlengine/named.py b/cqlengine/named.py
index <HASH>..<HASH> 100644
--- a/cqlengine/named.py
+++ b/cqlengine/named.py
@@ -1,6 +1,8 @@
from cqlengine.exceptions import CQLEngineException
from cqlengine.query import AbstractQueryableColumn, SimpleQuerySet
+from cqlengine.query import DoesNotExist as _Doe... | adding does not exist and multiple objects returns exceptions to named table | cqlengine_cqlengine | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.