hash stringlengths 40 40 | diff stringlengths 131 114k | message stringlengths 7 980 | project stringlengths 5 67 | split stringclasses 1
value |
|---|---|---|---|---|
063e665acf7992b6f1bce02bb6b983c90d451414 | diff --git a/lib/ohai/plugins/linux/network.rb b/lib/ohai/plugins/linux/network.rb
index <HASH>..<HASH> 100644
--- a/lib/ohai/plugins/linux/network.rb
+++ b/lib/ohai/plugins/linux/network.rb
@@ -55,7 +55,7 @@ popen4("/sbin/ifconfig -a") do |pid, stdin, stdout, stderr|
end
if line =~ /inet6 addr: ([a-f0-9\:]+)... | Fix for OHAI-<I> | chef_ohai | train |
696c8731d65b30e2562f89b16a4b12da79eb5ae9 | diff --git a/plugin/backend_lookup.go b/plugin/backend_lookup.go
index <HASH>..<HASH> 100644
--- a/plugin/backend_lookup.go
+++ b/plugin/backend_lookup.go
@@ -440,8 +440,8 @@ func NS(ctx context.Context, b ServiceBackend, zone string, state request.Reques
case dns.TypeA, dns.TypeAAAA:
serv.Host = msg.Domain(se... | plugin/etcd: Fix inconsistent names of glue records with TargetStrip (#<I>)
* etcd plugin: Add testcases for `TargetStrip` feature | coredns_coredns | train |
7aac645991f94b9039db81360061996151149c70 | diff --git a/api/src/main/java/javax/enterprise/inject/spi/AfterBeanDiscovery.java b/api/src/main/java/javax/enterprise/inject/spi/AfterBeanDiscovery.java
index <HASH>..<HASH> 100644
--- a/api/src/main/java/javax/enterprise/inject/spi/AfterBeanDiscovery.java
+++ b/api/src/main/java/javax/enterprise/inject/spi/AfterBean... | CDI-<I> expand the sentence little bit to be accurate. | cdi-spec_cdi | train |
787811c040c7122b5530f8f4a7a53d9e2de5bf7f | diff --git a/cherrypy/_cpwsgiserver.py b/cherrypy/_cpwsgiserver.py
index <HASH>..<HASH> 100644
--- a/cherrypy/_cpwsgiserver.py
+++ b/cherrypy/_cpwsgiserver.py
@@ -169,10 +169,8 @@ class WorkerThread(threading.Thread):
request.write(line)
except socket.error, e:
... | Fix for exhausted worker threads in wsgi server. | cherrypy_cheroot | train |
0ed5d9bfbebddc2055d37405decde1c08b96479b | diff --git a/src/index.js b/src/index.js
index <HASH>..<HASH> 100644
--- a/src/index.js
+++ b/src/index.js
@@ -187,18 +187,19 @@ Storage.prototype.channel = function(id, resourceId) {
* [Bucket Naming Guidelines](https://cloud.google.com/storage/docs/bucketnaming.html#requirements).
*
* @resource [Buckets: insert... | storage: support other storage classes (#<I>) | googleapis_nodejs-storage | train |
7786bb336943b2536f0be537f9833fd594e8c8cd | diff --git a/src/lib/isMobilePhone.js b/src/lib/isMobilePhone.js
index <HASH>..<HASH> 100644
--- a/src/lib/isMobilePhone.js
+++ b/src/lib/isMobilePhone.js
@@ -70,7 +70,7 @@ const phones = {
'es-CR': /^(\+506)?[2-8]\d{7}$/,
'es-CU': /^(\+53|0053)?5\d{7}/,
'es-DO': /^(\+?1)?8[024]9\d{7}$/,
- 'es-HN': /^(\+?504)... | feat(jamaica-addition): cleaned the branch | chriso_validator.js | train |
98e07fcfbe415be7b4ffb6b2874bae3405472c15 | diff --git a/chainlet/concurrency/base.py b/chainlet/concurrency/base.py
index <HASH>..<HASH> 100644
--- a/chainlet/concurrency/base.py
+++ b/chainlet/concurrency/base.py
@@ -95,6 +95,8 @@ class FutureChainResults(object):
:param futures: the stored futures for each result chunk
:type futures: list[StoredFutu... | more __slots__ for concurrency helpers | maxfischer2781_chainlet | train |
9dce850250ff332fea7837a7d0a42638edd1aee8 | diff --git a/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py b/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py
index <HASH>..<HASH> 100644
--- a/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py
+++ b/src/python/grpcio_tests/tests/channelz/_channelz_servicer_test.py
@... | stop() server and enable skipped channelz test | grpc_grpc | train |
f17d56e61aa277f8fe40566bba73d4071c91eedd | diff --git a/spec/integration/type/file_spec.rb b/spec/integration/type/file_spec.rb
index <HASH>..<HASH> 100755
--- a/spec/integration/type/file_spec.rb
+++ b/spec/integration/type/file_spec.rb
@@ -93,6 +93,43 @@ describe Puppet::Type.type(:file), :uses_checksums => true do
expect(Puppet::FileSystem.exist?(source... | (maint) Add additional spec tests for `ensure => present` file attribute
Previously, our file type integration tests checked that
`ensure => absent` behaved correctly in the file type at a high level,
but not that `ensure => present` did. This commit adds several new tests to
verify this behaviour and add consistency ... | puppetlabs_puppet | train |
68b35645cd0345f1f46ffd7882720e513fa851f9 | diff --git a/lib/box.rb b/lib/box.rb
index <HASH>..<HASH> 100644
--- a/lib/box.rb
+++ b/lib/box.rb
@@ -10,23 +10,6 @@ module MiniObject
end
end
- def self.let name, &block
- attr_accessor name
-
- define_method name do
- var = :"@#{name}"
-
- instance_variable_get(var) ||
- ... | let and evaluates add too much complexity for now | manuelmorales_mini-object | train |
20c06253c2c5b7b6f08ef09f11a780b00e019528 | diff --git a/lib/sinatra/assetpack/options.rb b/lib/sinatra/assetpack/options.rb
index <HASH>..<HASH> 100644
--- a/lib/sinatra/assetpack/options.rb
+++ b/lib/sinatra/assetpack/options.rb
@@ -56,7 +56,7 @@ module Sinatra
serve '/js', :from => 'app/js'
serve '/images', :from => 'app/images'
- ... | <I> fix for arity. | rstacruz_sinatra-assetpack | train |
cbbd9d5feda422abeeab55eb3c7cc58fbf7e9da8 | diff --git a/lib/processes/phantom/index.js b/lib/processes/phantom/index.js
index <HASH>..<HASH> 100644
--- a/lib/processes/phantom/index.js
+++ b/lib/processes/phantom/index.js
@@ -12,13 +12,13 @@ function getPhantomOptions(config) {
return {
command: config.get('phantomjs.command', 'phantomjs'),
- ... | Make spawnServer options more similar to subprocess | testiumjs_testium-core | train |
55174346ec8be3cbfc0ed89a41dd2af22fc277d6 | diff --git a/lib/ical/recur_iterator.js b/lib/ical/recur_iterator.js
index <HASH>..<HASH> 100644
--- a/lib/ical/recur_iterator.js
+++ b/lib/ical/recur_iterator.js
@@ -19,6 +19,12 @@ ICAL.icalrecur_iterator = (function() {
}
icalrecur_iterator.prototype = {
+
+ /**
+ * True when iteration is finished.
+ ... | add '.completed' boolean property to recur iterator. set as true when iteration is complate, integrated into persistence layer too | mozilla-comm_ical.js | train |
61f6c3bc13c5cc2fdedbc7ee0e2f278b49f74076 | diff --git a/pkg/volume/glusterfs/glusterfs.go b/pkg/volume/glusterfs/glusterfs.go
index <HASH>..<HASH> 100644
--- a/pkg/volume/glusterfs/glusterfs.go
+++ b/pkg/volume/glusterfs/glusterfs.go
@@ -61,15 +61,8 @@ func (plugin *glusterfsPlugin) CanSupport(spec *volume.Spec) bool {
(spec.Volume != nil && spec.Volume.Glus... | Remove the check for a gluster specific binary in 'canSupport'. Causes problems in containerized kube. | kubernetes_kubernetes | train |
c9a6c00810ee4d9630f7fd5e9f5fb53c51f0fd5d | diff --git a/src/bbn/environment.php b/src/bbn/environment.php
index <HASH>..<HASH> 100644
--- a/src/bbn/environment.php
+++ b/src/bbn/environment.php
@@ -486,7 +486,11 @@ class environment{
});
*/
- $tmpl = \LightnCandy::compile($view);
+ $tmpl = \LightnCandy::compile($view, [
+ 'flags' => \Lig... | Changed mustache to lightncandy | nabab_bbn | train |
523096508be1b9674692927e67f41dd4ae168200 | diff --git a/lib/gruff/mini/bar.rb b/lib/gruff/mini/bar.rb
index <HASH>..<HASH> 100644
--- a/lib/gruff/mini/bar.rb
+++ b/lib/gruff/mini/bar.rb
@@ -9,15 +9,20 @@ module Gruff
include Gruff::Mini::Legend
- def draw
+ def initialize_ivars
+ super
+
@hide_legend = true
... | Allow legends to be hidden in Mini graphs. | topfunky_gruff | train |
340dd9b36ae103930d44fbed548419b36e863463 | diff --git a/rope/refactor/extract.py b/rope/refactor/extract.py
index <HASH>..<HASH> 100644
--- a/rope/refactor/extract.py
+++ b/rope/refactor/extract.py
@@ -108,8 +108,11 @@ class _ExtractInfo(object):
if scope.get_kind() != 'Module' and scope.get_start() == start_line:
scope = scope.parent
... | extract: always searching the parent scope when extracting normal functions | python-rope_rope | train |
c55207268c00f0adab89d7029eada0c4306a3709 | diff --git a/sirmordred/config.py b/sirmordred/config.py
index <HASH>..<HASH> 100644
--- a/sirmordred/config.py
+++ b/sirmordred/config.py
@@ -343,13 +343,13 @@ class Config():
"type": bool,
"description": "Enable kafka menu"
},
- "gitlab_issues"... | [config] Change gitlab param names
This code changes the param names to load gitlab issues
and merges via the cfg. The previous names were not aligned to
the convention used by kidash to identify a data source. | chaoss_grimoirelab-sirmordred | train |
b75dea0e85299337a8b891cd234ba17a8baa1901 | diff --git a/osmdroid-android/src/org/andnav/osm/views/util/OpenStreetMapRendererInfo.java b/osmdroid-android/src/org/andnav/osm/views/util/OpenStreetMapRendererInfo.java
index <HASH>..<HASH> 100644
--- a/osmdroid-android/src/org/andnav/osm/views/util/OpenStreetMapRendererInfo.java
+++ b/osmdroid-android/src/org/andnav... | Just concatenate strings instead of using String.format - that's much more efficient. | osmdroid_osmdroid | train |
ac9044cb90978510d3f15beac2460cdbdcde2f33 | diff --git a/lib/emir/recipes/aiv/mask.py b/lib/emir/recipes/aiv/mask.py
index <HASH>..<HASH> 100644
--- a/lib/emir/recipes/aiv/mask.py
+++ b/lib/emir/recipes/aiv/mask.py
@@ -242,8 +242,11 @@ def pinhole_char(data, ncenters, box=4):
_logger.info('new center is %s', center)
centers_r[idx] = center
... | Return 'total' table with all the results | guaix-ucm_pyemir | train |
bf0f9cc8fed1451465c838131e0e017a5d99ff58 | diff --git a/wpull/url.py b/wpull/url.py
index <HASH>..<HASH> 100644
--- a/wpull/url.py
+++ b/wpull/url.py
@@ -431,7 +431,10 @@ def normalize(url, **kwargs):
@functools.lru_cache()
def normalize_hostname(hostname):
'''Normalizes a hostname so that it is ASCII and valid domain name.'''
- new_hostname = hostnam... | Give hostname we choked on when raising IDN hostname exceptions in url.py | ArchiveTeam_wpull | train |
c5089505ee81dd5ebc48ba93f7aa670b223d2f78 | diff --git a/sonar-server/src/main/webapp/WEB-INF/db/migrate/212_move_async_measures.rb b/sonar-server/src/main/webapp/WEB-INF/db/migrate/212_move_async_measures.rb
index <HASH>..<HASH> 100644
--- a/sonar-server/src/main/webapp/WEB-INF/db/migrate/212_move_async_measures.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/db/... | SONAR-<I> migrate existing manual measures | SonarSource_sonarqube | train |
1e16b8ed55797486dead1f1b51c257e85ab49fdc | diff --git a/core/src/main/java/org/mapfish/print/config/Configuration.java b/core/src/main/java/org/mapfish/print/config/Configuration.java
index <HASH>..<HASH> 100644
--- a/core/src/main/java/org/mapfish/print/config/Configuration.java
+++ b/core/src/main/java/org/mapfish/print/config/Configuration.java
@@ -23,6 +23,... | Add configuration which allows the correct JDBC drivers to be loaded. | mapfish_mapfish-print | train |
f7fc538bd852824ed1ae52044480901ed3751572 | diff --git a/telebot/apihelper.py b/telebot/apihelper.py
index <HASH>..<HASH> 100644
--- a/telebot/apihelper.py
+++ b/telebot/apihelper.py
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
import requests
+try:
+ from requests.packages.urllib3 import fields
+except ImportError:
+ fields = None
import telebot
from te... | Non-ASCII chars for filename. Telegram doesn't accept rfc<I> styled filename. Using utf-8 directly. | eternnoir_pyTelegramBotAPI | train |
c17d064edf92384c0ce0316843cdb505943bb7b7 | diff --git a/lib/metadata.js b/lib/metadata.js
index <HASH>..<HASH> 100644
--- a/lib/metadata.js
+++ b/lib/metadata.js
@@ -32,6 +32,7 @@ var meta = module.exports = {
var rotate = /rotate[\s]+:[\s]([\d]{2,3})/.exec(stderr);
// get ffmpeg version
+ console.log(stderr);
var getVersion = /f... | fixing title check, stderr logging | fluent-ffmpeg_node-fluent-ffmpeg | train |
928f45037526c0ff1cd1eed46d1fc401fb78c059 | diff --git a/foundations/trace.py b/foundations/trace.py
index <HASH>..<HASH> 100644
--- a/foundations/trace.py
+++ b/foundations/trace.py
@@ -598,13 +598,13 @@ def traceModule(module, tracer=tracer, pattern=r".*", flags=0):
global REGISTERED_MODULES
for name, function in inspect.getmembers(module, inspect.isfunc... | Ensure "foundations.trace.traceModule" definition only trace exported objects. | KelSolaar_Foundations | train |
8b3c375884dc38753e588de4e24630ec01aa4ad5 | diff --git a/datadog_checks_dev/datadog_checks/dev/docker.py b/datadog_checks_dev/datadog_checks/dev/docker.py
index <HASH>..<HASH> 100644
--- a/datadog_checks_dev/datadog_checks/dev/docker.py
+++ b/datadog_checks_dev/datadog_checks/dev/docker.py
@@ -7,6 +7,7 @@ from typing import Iterator
from six import string_typ... | Add retry to docker_run (#<I>) | DataDog_integrations-core | train |
14c4881f9c7bf4eae61e548542ee309c013e1fca | diff --git a/activerecord/test/models/author.rb b/activerecord/test/models/author.rb
index <HASH>..<HASH> 100644
--- a/activerecord/test/models/author.rb
+++ b/activerecord/test/models/author.rb
@@ -84,14 +84,14 @@ class Author < ActiveRecord::Base
has_many :favorite_authors, :through => :author_favorites, :order =>... | Prevent test_has_many_through_a_has_many_through_association_on_through_reflection failing for me due to ordering of the results | rails_rails | train |
3d71d019ac987788e62cbf33e95fc1482a431bb7 | diff --git a/src/photini/__init__.py b/src/photini/__init__.py
index <HASH>..<HASH> 100644
--- a/src/photini/__init__.py
+++ b/src/photini/__init__.py
@@ -1,4 +1,4 @@
from __future__ import unicode_literals
__version__ = '2018.4.0'
-build = '1084 (3decf30)'
+build = '1085 (605f573)'
diff --git a/src/photini/metadat... | Use exiv2's conversions when cloning from XMP | jim-easterbrook_Photini | train |
3020eaa901c9ebe5ee42aea46003ab349a845b93 | diff --git a/zerocore.php b/zerocore.php
index <HASH>..<HASH> 100644
--- a/zerocore.php
+++ b/zerocore.php
@@ -13,7 +13,7 @@
//--------------------------------------------------------------------------------------------------
// VERSION INFO CONSTANTS
//---------------------------------------------------------------... | <I> -> Updated
<I> -> Updated | znframework_znframework | train |
a5444c62194e545ebf49d54c5652cf75928ea0be | diff --git a/azurerm/resource_arm_storage_share_test.go b/azurerm/resource_arm_storage_share_test.go
index <HASH>..<HASH> 100644
--- a/azurerm/resource_arm_storage_share_test.go
+++ b/azurerm/resource_arm_storage_share_test.go
@@ -423,7 +423,7 @@ resource "azurerm_storage_share" "test" {
name = "test... | Update resource_arm_storage_share_test.go
Revert back to the original setting | terraform-providers_terraform-provider-azurerm | train |
73cfc046643dbe146732d1f4cd14b199b7b5fbe2 | diff --git a/src/Models/Zone.php b/src/Models/Zone.php
index <HASH>..<HASH> 100644
--- a/src/Models/Zone.php
+++ b/src/Models/Zone.php
@@ -484,7 +484,7 @@ class Zone extends AbstractModel
*/
public function ips($hours = 24, $class = null)
{
- $zoneIps = $this->get('zoneIps', $this->data(compact('... | Additional type conversion is not required
The concatenation operator should do this for us. | GrahamDeprecated_Laravel-CloudFlare-API | train |
a4b63434233fd5893d0907580e1e75439c563dc5 | diff --git a/vsphere/host_network_policy_structure.go b/vsphere/host_network_policy_structure.go
index <HASH>..<HASH> 100644
--- a/vsphere/host_network_policy_structure.go
+++ b/vsphere/host_network_policy_structure.go
@@ -195,8 +195,10 @@ func flattenHostNicTeamingPolicy(d *schema.ResourceData, obj *types.HostNicTeami... | Check if portgroup failure criteria is nil
Sometimes govmomi will return a PortGroup spec where the failure
criteria property of the nic teaming policy can be nil.
When this happens we crash because the code doesn't check for this case.
Addresses the crash in #<I> | terraform-providers_terraform-provider-vsphere | train |
c638b3388321705c762b680b4ec8fe841cc8fb46 | diff --git a/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php b/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php
index <HASH>..<HASH> 100644
--- a/tests/Guzzle/Tests/Service/Command/LocationVisitor/Response/XmlVisitorTest.php
+++ b/tests/Guzzle/Tests/Service/C... | Add test for attribute support in xml responses | guzzle_guzzle3 | train |
1f3b54e4f621f0f05777e383360ea661f8586068 | diff --git a/pypeerassets/networks.py b/pypeerassets/networks.py
index <HASH>..<HASH> 100644
--- a/pypeerassets/networks.py
+++ b/pypeerassets/networks.py
@@ -23,10 +23,10 @@ For abbreviation prefix testnet of the network with "t".
networks = (
# Peercoin mainnet
Network("peercoin", "ppc", b'37', b'b7', b'75... | express in satoshis. | PeerAssets_pypeerassets | train |
8c86f42f795a591369b4d952c69a8ce69cd6b464 | diff --git a/multi_key_dict.py b/multi_key_dict.py
index <HASH>..<HASH> 100644
--- a/multi_key_dict.py
+++ b/multi_key_dict.py
@@ -122,7 +122,7 @@ class multi_key_dict(object):
first_key = keys
key_type = str(type(first_key)) # find the intermediate dictionary..
- if self.has_key(first... | Allow checking if key in dict
Support the common pythonic idiom of checking if a key is in a
dictionary using 'in'.
Fixes #<I> | formiaczek_multi_key_dict | train |
ba2f96692d89314f3ce94de9ba15045442e7517e | diff --git a/lib/dm-sweatshop.rb b/lib/dm-sweatshop.rb
index <HASH>..<HASH> 100644
--- a/lib/dm-sweatshop.rb
+++ b/lib/dm-sweatshop.rb
@@ -1,4 +1,3 @@
-require 'extlib'
require 'randexp'
require 'dm-sweatshop/sweatshop' | [dm-more] Added dependency for dm-serializer to dm-rest-adapter
* Removed unecessary require statements from dm-rest-adapter and
dm-sweatshop.
* Minor code cleanup in dm-types Rakefile | datamapper_dm-sweatshop | train |
859731106137e42f9b5669c68892c4edcb021d9d | diff --git a/lib/speaky_csv/active_record_import.rb b/lib/speaky_csv/active_record_import.rb
index <HASH>..<HASH> 100644
--- a/lib/speaky_csv/active_record_import.rb
+++ b/lib/speaky_csv/active_record_import.rb
@@ -1,6 +1,5 @@
require 'csv'
require 'active_record'
-require 'English'
module SpeakyCsv
# Imports a... | Assign attributes individually
so they don't all fail if one is unknown | ajh_speaky_csv | train |
1bb9d49eaa038e50e96781623aa5c5128e579384 | diff --git a/cmd/fs-v1.go b/cmd/fs-v1.go
index <HASH>..<HASH> 100644
--- a/cmd/fs-v1.go
+++ b/cmd/fs-v1.go
@@ -749,14 +749,24 @@ func (fs fsObjects) getObjectETag(bucket, entry string) (string, error) {
// Read from fs metadata only if it exists.
defer fs.rwPool.Close(fsMetaPath)
- fsMetaBuf, err := ioutil.ReadAl... | fs: ListObjects() was reading ETag at wrong offsets (#<I>)
Current code was just using io.ReadAll() on an fd()
which might have moved underneath due to a concurrent
read operation. Subsequent read will result in EOF
We should always seek back and read again. pread()
is allowed on all platforms use io.SectionReader... | minio_minio | train |
d825e128447dbaecf640a96a46a851b3a3c748a8 | diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index <HASH>..<HASH> 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -27,4 +27,3 @@ We only assign an issue to someone when they are going to work on that issue soo
We tag all issues with a priority tag, P0 for "urgent" through P5 for "someday-maybe"
If you find ... | Add files modified by end-of-file-fixer | googlefonts_fontbakery | train |
3cf1c5adfb98a2f7df2ba0788407b2e964f7903d | diff --git a/lib/github/ldap.rb b/lib/github/ldap.rb
index <HASH>..<HASH> 100644
--- a/lib/github/ldap.rb
+++ b/lib/github/ldap.rb
@@ -214,7 +214,7 @@ module GitHub
end
end
- # Internal: Searches the host LDAP server's Root DSE for capabilities and
+ # Public: Searches the host LDAP server's Root DS... | Make capabilities public so domain can decide whether it's Active Dir | github_github-ldap | train |
438e08f15f25eb453d0dfdbb71d0d69087de3933 | diff --git a/src/ApiManager.php b/src/ApiManager.php
index <HASH>..<HASH> 100644
--- a/src/ApiManager.php
+++ b/src/ApiManager.php
@@ -55,7 +55,7 @@ class ApiManager implements ApiManagerInterface
if (in_array($method, ['POST', 'PUT'])) {
if (!empty($data)) {
- curl_setopt($ch, CU... | Force request Content-Type to JSON | KirianM_restapimanager | train |
ee05be2cfd0eb8c43d574d6bd25555867f7ab35c | diff --git a/salt/modules/keystone.py b/salt/modules/keystone.py
index <HASH>..<HASH> 100644
--- a/salt/modules/keystone.py
+++ b/salt/modules/keystone.py
@@ -376,7 +376,6 @@ def _item_list():
tenant-update Update tenant name, description, enabled status
token-get
user-role-add Add role to us... | Remove user-role-list from temporary list at bottom | saltstack_salt | train |
8513bd25eb60840ad4388a4de973d28db8ba418d | diff --git a/lib/github_api/connection.rb b/lib/github_api/connection.rb
index <HASH>..<HASH> 100644
--- a/lib/github_api/connection.rb
+++ b/lib/github_api/connection.rb
@@ -78,10 +78,12 @@ module Github
#
def stack(options = {}, &block)
@stack ||= begin
+ builder_class = defined?(Faraday::Rack... | Choose between Faraday:RackBuilder and Faraday::Builder.
Faraday::RackBuilder is recommended for version <I>.x, but
Faraday::Builder is recommended for version <I>.x. | piotrmurach_github | train |
49f3c9295fda394f615832736e53bd8e17d9b0eb | diff --git a/gns3server/modules/project.py b/gns3server/modules/project.py
index <HASH>..<HASH> 100644
--- a/gns3server/modules/project.py
+++ b/gns3server/modules/project.py
@@ -21,6 +21,7 @@ import shutil
import asyncio
from uuid import UUID, uuid4
+from .port_manager import PortManager
from ..config import Conf... | Some debug messages to help with port allocation debugging. | GNS3_gns3-server | train |
72c338aa81161a4c2b44564a525e07b51ea1db19 | diff --git a/lib/licensee/content_helper.rb b/lib/licensee/content_helper.rb
index <HASH>..<HASH> 100644
--- a/lib/licensee/content_helper.rb
+++ b/lib/licensee/content_helper.rb
@@ -29,6 +29,17 @@ module Licensee
(length - other.length).abs
end
+ def license_similarity(other)
+ s = similarity(oth... | only check for CC false positives when relevant
- exact matches can't have false positives, so
move to dice matcher/similarity
- only do check if matching against CC-BY[-SA]
- and if match above threshold
- if false positive check, bump down score | licensee_licensee | train |
61c5749f014a9ad4bf938d383f8f67de59422f7f | diff --git a/azurerm/config.go b/azurerm/config.go
index <HASH>..<HASH> 100644
--- a/azurerm/config.go
+++ b/azurerm/config.go
@@ -46,10 +46,11 @@ import (
// ArmClient contains the handles to all the specific Azure Resource Manager
// resource classes' respective clients.
type ArmClient struct {
- clientId st... | Making the `azurerm_client_config` data source work with AzureCLI auth | terraform-providers_terraform-provider-azurerm | train |
41bc6104cbdb617e06677f0ba546c7cf601fcd42 | diff --git a/src/codebird.php b/src/codebird.php
index <HASH>..<HASH> 100644
--- a/src/codebird.php
+++ b/src/codebird.php
@@ -1301,13 +1301,11 @@ class Codebird
* @return mixed The API reply, encoded in the set return_format
*/
- protected function _callApiCurl($httpmethod, $method, $params = array(),... | Drop old params for internal API methods | jublo_codebird-php | train |
1ab3142002c3620c700ecda6c413fda9802e14cc | diff --git a/src/logger.js b/src/logger.js
index <HASH>..<HASH> 100644
--- a/src/logger.js
+++ b/src/logger.js
@@ -2,6 +2,7 @@
const logCleaner = require("./log-cleaner");
const util = require("util");
const process = require("process");
+const incomingMessage = require("http").IncomingMessage;
function isString(... | [#<I>zbfq] filtered req object in the logger to remove CONFIG sensitive information | Betterez_btrz-logger | train |
0fe78f379ab85e586381e167aecd7d5527984697 | diff --git a/bench/throughput.js b/bench/throughput.js
index <HASH>..<HASH> 100644
--- a/bench/throughput.js
+++ b/bench/throughput.js
@@ -116,7 +116,8 @@ module.exports = function(grunt, callback) {
// Deferring load incase we are being run inline with the grunt build
Handlebars = require('../lib/handlebars');
... | Output scaled times for throughput | wycats_handlebars.js | train |
7d96d7ad7599fcd552a652605735650de79666d7 | diff --git a/README.md b/README.md
index <HASH>..<HASH> 100644
--- a/README.md
+++ b/README.md
@@ -37,8 +37,8 @@ SecureHeaders::Configuration.default do |config|
config.x_permitted_cross_domain_policies = "none"
config.csp = {
# "meta" values. these will shaped the header, but the values are not included in ... | the new :preserve_schemes flag would throw an error if you actually tried to use it | twitter_secure_headers | train |
edba185e478778bb6359688398fecdd7c603c833 | diff --git a/src/main/java/org/jfrog/hudson/generic/GenericArtifactsDeployer.java b/src/main/java/org/jfrog/hudson/generic/GenericArtifactsDeployer.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/jfrog/hudson/generic/GenericArtifactsDeployer.java
+++ b/src/main/java/org/jfrog/hudson/generic/GenericArtifactsDep... | HAP-<I> - Variables in download-spec aren't working anymore | jenkinsci_artifactory-plugin | train |
52f505bea78fde02ff6a5d1dbfe6b823e082cc92 | diff --git a/src/components/PrimaryPanes/SourcesTreeItem.js b/src/components/PrimaryPanes/SourcesTreeItem.js
index <HASH>..<HASH> 100644
--- a/src/components/PrimaryPanes/SourcesTreeItem.js
+++ b/src/components/PrimaryPanes/SourcesTreeItem.js
@@ -183,7 +183,11 @@ class SourceTreeItem extends Component<Props, State> {
... | <I>/fix :formatted showing in tabs/breakpoints sidebar (#<I>) | firefox-devtools_debugger | train |
eef122019d0d66375c8a8a56290d610e597e4bf7 | diff --git a/gimmemotifs/genome_index.py b/gimmemotifs/genome_index.py
index <HASH>..<HASH> 100644
--- a/gimmemotifs/genome_index.py
+++ b/gimmemotifs/genome_index.py
@@ -18,6 +18,7 @@ import urllib
import urllib2
import re
from distutils.spawn import find_executable
+import gzip
import pybedtools
@@ -43,12 +4... | annotation download should work regardless of which provider it came from | vanheeringen-lab_gimmemotifs | train |
bbd0dc7b0376bc75cdd0111d57c4a4ff19906421 | diff --git a/pwnypack/rop.py b/pwnypack/rop.py
index <HASH>..<HASH> 100644
--- a/pwnypack/rop.py
+++ b/pwnypack/rop.py
@@ -1,3 +1,8 @@
+"""
+The ROP module contains a function to find gadgets in ELF binaries that can
+be used to create ROP chains.
+"""
+
from __future__ import print_function
import argparse
import r... | Add docstrings for pwnypack.rop. | edibledinos_pwnypack | train |
cb913c3601ce8b98baca577e39d72dc30b1e3fd6 | diff --git a/test/testsuite/runtime/query/ModelCriteriaTest.php b/test/testsuite/runtime/query/ModelCriteriaTest.php
index <HASH>..<HASH> 100644
--- a/test/testsuite/runtime/query/ModelCriteriaTest.php
+++ b/test/testsuite/runtime/query/ModelCriteriaTest.php
@@ -939,6 +939,30 @@ class ModelCriteriaTest extends Bookstor... | Add test for ModelCriteria to prove it support IN operator in JOIN conditions | propelorm_Propel | train |
fbc1ded43554086b3c407762bff3188fda6a1435 | diff --git a/tomodachi/transport/amqp.py b/tomodachi/transport/amqp.py
index <HASH>..<HASH> 100644
--- a/tomodachi/transport/amqp.py
+++ b/tomodachi/transport/amqp.py
@@ -9,6 +9,8 @@ import inspect
from typing import Any, Dict, Union, Optional, Callable, Match, Awaitable
from tomodachi.invoker import Invoker
+MESSA... | Make it possible to have custom message_protocol functionality for different functions | kalaspuff_tomodachi | train |
3016e2545a7297a5731f773a0e54bfb9d7747572 | diff --git a/hamster/widgets/timeline.py b/hamster/widgets/timeline.py
index <HASH>..<HASH> 100644
--- a/hamster/widgets/timeline.py
+++ b/hamster/widgets/timeline.py
@@ -205,7 +205,7 @@ class TimeLine(graphics.Area):
bar_size = max(round(self.height * total * 0.9), 1)
x, bar_width = exes[curr... | gave the bars bit more of grey so that it could be told apart from the background on crappy monitors | projecthamster_hamster | train |
6b6c529d54414c4cd1c5ebe816e4844a62b3b7d7 | diff --git a/modelx/__init__.py b/modelx/__init__.py
index <HASH>..<HASH> 100644
--- a/modelx/__init__.py
+++ b/modelx/__init__.py
@@ -13,7 +13,7 @@
# License along with this library. If not, see <http://www.gnu.org/licenses/>.
-VERSION = (0, 0, 21, "dev")
+VERSION = (0, 0, 21)
__version__ = ".".join([str(x) for... | DIST: Release <I> | fumitoh_modelx | train |
d4f6ae36151e7619345b90cda7e776f015052dac | diff --git a/pkg/kubelet/cm/cgroup_manager_linux.go b/pkg/kubelet/cm/cgroup_manager_linux.go
index <HASH>..<HASH> 100644
--- a/pkg/kubelet/cm/cgroup_manager_linux.go
+++ b/pkg/kubelet/cm/cgroup_manager_linux.go
@@ -67,7 +67,10 @@ func NewCgroupName(base CgroupName, components ...string) CgroupName {
panic(fmt.Error... | fix slice sharing bug in cgroup manager | kubernetes_kubernetes | train |
cd2301e3ead4c78c9eb946ef0ae5bfc19ff8bddf | diff --git a/tests/test_utils.py b/tests/test_utils.py
index <HASH>..<HASH> 100644
--- a/tests/test_utils.py
+++ b/tests/test_utils.py
@@ -40,3 +40,32 @@ class AppendQsTestCase(TestCase):
utils.append_qs(self.url, qs)
result = self.result.format('=&test3=%E0%AE%B8%E0%AF%8D%E0%AE%B1%E0%AF%80%E0%AE%A9%E... | Flattening dicts and lists to PHP-readable POST fields | jasonkeene_python-ubersmith | train |
f83ecb324fab81b01f69591a81c158bcb93d60e7 | diff --git a/src/api/http.js b/src/api/http.js
index <HASH>..<HASH> 100644
--- a/src/api/http.js
+++ b/src/api/http.js
@@ -1,25 +1,14 @@
-export function request(method, href, data, callback) {
- const req = new XMLHttpRequest()
-
- req.open(method, href)
- req.onload = () => {
- if (req.status === 200) {
- ... | fix: use async/await with fetch to fix cors issues | cignium_hypermedia-client | train |
07c22588f1324e4c4cb1d267328aedc4b03d0895 | diff --git a/corral/cli/commands.py b/corral/cli/commands.py
index <HASH>..<HASH> 100644
--- a/corral/cli/commands.py
+++ b/corral/cli/commands.py
@@ -176,11 +176,30 @@ class Load(BaseCommand):
run.execute_loader(cls, sync=True)
+class Groups(BaseCommand):
+ """List all existent groups for Steps and Ale... | added utility to list groups and filter steps and alerts by groups | toros-astro_corral | train |
2789ab09deeb337a2909bd416153470595e959ab | diff --git a/src/View/StringTemplate.php b/src/View/StringTemplate.php
index <HASH>..<HASH> 100644
--- a/src/View/StringTemplate.php
+++ b/src/View/StringTemplate.php
@@ -36,9 +36,26 @@ class StringTemplate {
* @var array
*/
protected $_compactAttributes = array(
- 'compact', 'checked', 'declare', 'readonly', 'd... | Remove numerous calls to in_array().
Replacing in_array() with isset() saves a number of calls which add up
over time. | cakephp_cakephp | train |
558c2fd24d0a893e4535cb1ce80874a1a2ae07fb | diff --git a/lib/helpscout/client.rb b/lib/helpscout/client.rb
index <HASH>..<HASH> 100644
--- a/lib/helpscout/client.rb
+++ b/lib/helpscout/client.rb
@@ -139,16 +139,8 @@ module HelpScout
# items Array Collection of objects
def self.request_items(auth, url, params = {})
- request_url = ""... | request_items method didn't escaped url parameters properly.
Modified it to use standartd httparty :query option instead of manually composing url | hramos_helpscout | train |
8da4223af25951ab0c668cc70b624e486ed2bdc8 | diff --git a/src/kg/apc/jmeter/vizualizers/AbstractGraphPanelVisualizer.java b/src/kg/apc/jmeter/vizualizers/AbstractGraphPanelVisualizer.java
index <HASH>..<HASH> 100644
--- a/src/kg/apc/jmeter/vizualizers/AbstractGraphPanelVisualizer.java
+++ b/src/kg/apc/jmeter/vizualizers/AbstractGraphPanelVisualizer.java
@@ -15,6 ... | Finally handle correctly Transaction controler and sampler which downloads static ressources in Hit/Sec, Latency and Response code visualizers | undera_jmeter-plugins | train |
86384b3c4b8443f210547094e3e35376240984eb | diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb
index <HASH>..<HASH> 100644
--- a/activerecord/lib/active_record/relation/query_methods.rb
+++ b/activerecord/lib/active_record/relation/query_methods.rb
@@ -196,14 +196,14 @@ module ActiveRe... | reduce method calls, use reject + blank? instead of select + present? | rails_rails | train |
05d379d751f90b51f1ec383c3e5e6af7bd7e0f35 | diff --git a/cmd/tsuru-base/apps.go b/cmd/tsuru-base/apps.go
index <HASH>..<HASH> 100644
--- a/cmd/tsuru-base/apps.go
+++ b/cmd/tsuru-base/apps.go
@@ -121,7 +121,6 @@ func (c *AppInfo) Show(result []byte, context *cmd.Context) error {
type AppGrant struct {
GuessingCommand
- fs *gnuflag.FlagSet
}
func (c *AppG... | cmd/tsuru-base: refactoring app-grant to use just GuessingCommand.Guess
Related to #<I>. | tsuru_tsuru | train |
d56fede690bbafb78dce9e28a5a1d4fcec48d212 | diff --git a/tests/integration/simulacron/test_connection.py b/tests/integration/simulacron/test_connection.py
index <HASH>..<HASH> 100644
--- a/tests/integration/simulacron/test_connection.py
+++ b/tests/integration/simulacron/test_connection.py
@@ -36,7 +36,8 @@ from tests.integration.simulacron.utils import (NO_THEN... | PYTHON-<I> Added test simulating network isolation | datastax_python-driver | train |
fb10c333b80803276344af790ca986fd392ac273 | diff --git a/app/models/foreman_chef/concerns/host_build.rb b/app/models/foreman_chef/concerns/host_build.rb
index <HASH>..<HASH> 100644
--- a/app/models/foreman_chef/concerns/host_build.rb
+++ b/app/models/foreman_chef/concerns/host_build.rb
@@ -6,6 +6,8 @@ module ForemanChef
include ForemanTasks::Concerns::A... | Fixes #<I> - fix image based provisioning | theforeman_foreman_chef | train |
2a780607857f8c6be21861c04f5c6631176a3208 | diff --git a/packages/vaex-core/vaex/column.py b/packages/vaex-core/vaex/column.py
index <HASH>..<HASH> 100644
--- a/packages/vaex-core/vaex/column.py
+++ b/packages/vaex-core/vaex/column.py
@@ -1,5 +1,6 @@
import logging
import os
+import warnings
import six
import numpy as np
diff --git a/packages/vaex-core/vae... | test: be explicit about the dtype, so we don't change if when slicing/concatenating | vaexio_vaex | train |
5b377aafa778e68533f4461e6e6cc5e8db1a5120 | diff --git a/kite-data/kite-data-crunch/src/test/java/org/kitesdk/data/crunch/TestCrunchDatasetsHBase.java b/kite-data/kite-data-crunch/src/test/java/org/kitesdk/data/crunch/TestCrunchDatasetsHBase.java
index <HASH>..<HASH> 100644
--- a/kite-data/kite-data-crunch/src/test/java/org/kitesdk/data/crunch/TestCrunchDatasets... | CDK-<I>: Shut down HBase and DFS clusters to fix conflicts. | kite-sdk_kite | train |
8fe1e075bfc91196f6fb30da1d3700c24f772d9e | diff --git a/spec/cb/clients/expired_job_spec.rb b/spec/cb/clients/expired_job_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/cb/clients/expired_job_spec.rb
+++ b/spec/cb/clients/expired_job_spec.rb
@@ -12,16 +12,8 @@ require 'spec_helper'
module Cb
describe Cb::Clients::ExpiredJob do
- let(:headers) do
- ... | refactor spec to use common client stubs | careerbuilder_ruby-cb-api | train |
6102482574488552fd9661e101dfe4f001016535 | diff --git a/service/store/cli/databases.go b/service/store/cli/databases.go
index <HASH>..<HASH> 100644
--- a/service/store/cli/databases.go
+++ b/service/store/cli/databases.go
@@ -5,6 +5,7 @@ import (
"fmt"
"github.com/micro/cli/v2"
+ goclient "github.com/micro/go-micro/v3/client"
"github.com/micro/micro/v3/... | Fixing tables and databases store commands (#<I>)
* Fixing tables and databases store commands
* Go mod tidy | micro_micro | train |
5d85a9b688b7936f80a818b1941f737de343f2fb | diff --git a/src/Controller/Base.php b/src/Controller/Base.php
index <HASH>..<HASH> 100644
--- a/src/Controller/Base.php
+++ b/src/Controller/Base.php
@@ -24,7 +24,7 @@ if (class_exists('\App\Invoice\Controller\Base')) {
{
}
} else {
- abstract class BaseMiddle extends \Nails\Common\Controller\Base
+ a... | Falling back to app controller rather than Nails controller | nails_module-invoice | train |
aa122c9671ab26f1fc9026267e069a1a5234dd67 | diff --git a/python/add_mapillary_tag_from_json.py b/python/add_mapillary_tag_from_json.py
index <HASH>..<HASH> 100644
--- a/python/add_mapillary_tag_from_json.py
+++ b/python/add_mapillary_tag_from_json.py
@@ -65,6 +65,7 @@ if __name__ == '__main__':
mkdir_p(output_path)
images = os.listdir(image_path)
+ ... | feat(json): Add counts to log | mapillary_mapillary_tools | train |
dcfd50071d5cbf18c9784bb8ae626ed858e7c71f | diff --git a/eth/db/journal.py b/eth/db/journal.py
index <HASH>..<HASH> 100644
--- a/eth/db/journal.py
+++ b/eth/db/journal.py
@@ -4,8 +4,9 @@ import uuid
from eth_utils.toolz import (
first,
- merge,
last,
+ merge,
+ nth,
)
from eth_utils import (
ValidationError,
@@ -45,6 +46,13 @@ class ... | JournalDB: squash() to commit all without persist | ethereum_py-evm | train |
a9104d2868d0006420f1d4990a86ed4c17055fdb | diff --git a/backends/env/client.go b/backends/env/client.go
index <HASH>..<HASH> 100644
--- a/backends/env/client.go
+++ b/backends/env/client.go
@@ -17,12 +17,19 @@ func NewEnvClient() (*Client, error) {
// GetValues queries the environment for keys
func (c *Client) GetValues(keys []string) (map[string]string, er... | backend: env uses pattern matching to mimic recursion | kelseyhightower_confd | train |
5350fd7d2271a5923d32a07d8266c43129ea95d6 | diff --git a/code/class/loader.php b/code/class/loader.php
index <HASH>..<HASH> 100755
--- a/code/class/loader.php
+++ b/code/class/loader.php
@@ -177,9 +177,6 @@ class ClassLoader implements ClassLoaderInterface
*/
public function getPath($class)
{
- $result = false;
- static $i;
-
... | Issue #<I>: Remove unused code | timble_kodekit | train |
4636a2afc3dbdfaede3030553a2e1109fc0d52f1 | diff --git a/moto/ecs/models.py b/moto/ecs/models.py
index <HASH>..<HASH> 100644
--- a/moto/ecs/models.py
+++ b/moto/ecs/models.py
@@ -109,6 +109,10 @@ class TaskDefinition(BaseObject):
del response_object['arn']
return response_object
+ @property
+ def physical_resource_id(self):
+ ret... | Add physical_resource_id to ECS task definition | spulec_moto | train |
64c6547b1ee24af870329ec7b6e18b4d5135f303 | diff --git a/public/js/adminMongo.js b/public/js/adminMongo.js
index <HASH>..<HASH> 100644
--- a/public/js/adminMongo.js
+++ b/public/js/adminMongo.js
@@ -121,6 +121,13 @@ $(document).ready(function(){
// set the object to local storage to be used if page changes
localStorage.setItem('searchQ... | Search a Document with its ObjectId
Search a Document with its ObjectId.
This fix mrvautin/adminMongo issues#<I> | mrvautin_adminMongo | train |
e7146059f465da1823b467d049fb7da46b42b08c | diff --git a/ipfn/ipfn.py b/ipfn/ipfn.py
index <HASH>..<HASH> 100755
--- a/ipfn/ipfn.py
+++ b/ipfn/ipfn.py
@@ -111,9 +111,15 @@ class ipfn(object):
for feature in product(*feat_l):
- table_update.loc[feature, 'total'] =\
- table_current.loc[feature, 'total']*\
- ... | add check to make sure no division by 0 occur in the pd version of the code | Dirguis_ipfn | train |
bd8c4fe05005ade9542c036d6c8e80273fd0606b | diff --git a/common/src/main/java/io/netty/util/internal/SystemPropertyUtil.java b/common/src/main/java/io/netty/util/internal/SystemPropertyUtil.java
index <HASH>..<HASH> 100644
--- a/common/src/main/java/io/netty/util/internal/SystemPropertyUtil.java
+++ b/common/src/main/java/io/netty/util/internal/SystemPropertyUti... | [#<I>] Netty <I> breaks app on startup with NPE
- Get system property when requested; do not cache it.
Conflicts:
common/src/main/java/io/netty/util/internal/SystemPropertyUtil.java | netty_netty | train |
46d9ab88b04ce65efc22800c8e24c094df41fefe | diff --git a/CHANGES.rst b/CHANGES.rst
index <HASH>..<HASH> 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -11,6 +11,7 @@ Changelog
- added `weka.core.database` module for loading data from a database
- added `make_copy` class method to `Clusterer` class
- added `make_copy` class method to `Associator` class
+- added... | added make_copy class method to Filter class | fracpete_python-weka-wrapper | train |
2f469db153e64a732e8ec0c70ace1c5c473ceb50 | diff --git a/goagen/gen_swagger/swagger_test.go b/goagen/gen_swagger/swagger_test.go
index <HASH>..<HASH> 100644
--- a/goagen/gen_swagger/swagger_test.go
+++ b/goagen/gen_swagger/swagger_test.go
@@ -389,12 +389,12 @@ var _ = Describe("New", func() {
})
})
- Context("using the cellar example API definition", func... | remove the whole test, not just the expectation. Still temporary | goadesign_goa | train |
1ac3fed88eb853611c75de4441a54ffeed6e9dd2 | diff --git a/test/boomerang-cache_tests.js b/test/boomerang-cache_tests.js
index <HASH>..<HASH> 100644
--- a/test/boomerang-cache_tests.js
+++ b/test/boomerang-cache_tests.js
@@ -8,7 +8,21 @@ catch (ex) {
console.log(ex);
}
-describe('Core -', function () {
+describe('LocalStorage -', function () {
+
+ befor... | added: before and after functions added in test file. | giraysam_boomerang-cache | train |
fe0750864e56e2b52f820a4624b3906d67a4f370 | diff --git a/src/audio/audio.js b/src/audio/audio.js
index <HASH>..<HASH> 100644
--- a/src/audio/audio.js
+++ b/src/audio/audio.js
@@ -519,7 +519,7 @@
* @param {Number} volume Float specifying volume (0.0 - 1.0 values accepted).
*/
obj.setVolume = function(volume) {
- if (volume) {
+ if (volume >= 0) {
... | [#<I>] Allow `alpha` and `volume` to be set to 0.
- Bonus: Fixed an error message! | melonjs_melonJS | train |
a0c47e53fdc7937e76fa8d0acdf19b32ba908fcd | diff --git a/lib/canis/core/system/window.rb b/lib/canis/core/system/window.rb
index <HASH>..<HASH> 100644
--- a/lib/canis/core/system/window.rb
+++ b/lib/canis/core/system/window.rb
@@ -4,7 +4,7 @@
# Author: jkepler http://github.com/mare-imbrium/canis/
# Date: Around for a long time
# License: S... | enhanced refresh_all not to refresh current window in case of resize | mare-imbrium_canis | train |
cd66b131c633e296973b9a9b1dfa776dd9b21d55 | diff --git a/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDDLBuilder.php b/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDDLBuilder.php
index <HASH>..<HASH> 100644
--- a/generator/classes/propel/engine/builder/sql/pgsql/PgsqlDDLBuilder.php
+++ b/generator/classes/propel/engine/builder/sql/pgsql/Pgsql... | #<I> - first commit, lets see if this works. all we are doing extra is quoting the foreign table name | propelorm_Propel | train |
0734cfbacb83acaacb003cd5113c65ad8390af7c | diff --git a/cifsdk/msg.py b/cifsdk/msg.py
index <HASH>..<HASH> 100644
--- a/cifsdk/msg.py
+++ b/cifsdk/msg.py
@@ -93,6 +93,9 @@ class Msg(object):
m.append(self.null)
if self.token:
+ if isinstance(self.token, str):
+ self.token = self.token.encode('utf-8')
+
... | fixes unicode issue with py2 (#<I>) | csirtgadgets_bearded-avenger-sdk-py | train |
c2d1cb2c701f3c0dd06a6db298cd78e06d039c8f | diff --git a/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java b/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/PropertyMapper.java
index <HASH>..<HASH> 100644
--- a/spring-boot-project/spring-boot/src/main/java/org/s... | Chain predicates in PropertyMapper when methods
Update `PropertyMapper` to correctly combine predicates when repeated
calls are made to `when` and `whenNot`. Prior to this commit, subsequent
invocations would replace the previous predicate.
Fixes gh-<I> | spring-projects_spring-boot | train |
7988a133e0fd6a8b2391de60647ea76c33a4a2ca | diff --git a/jcvideoplayer-lib/src/main/java/fm/jiecao/jcvideoplayer_lib/JCVideoPlayer.java b/jcvideoplayer-lib/src/main/java/fm/jiecao/jcvideoplayer_lib/JCVideoPlayer.java
index <HASH>..<HASH> 100644
--- a/jcvideoplayer-lib/src/main/java/fm/jiecao/jcvideoplayer_lib/JCVideoPlayer.java
+++ b/jcvideoplayer-lib/src/main/j... | rm function and ontouch the container id | lipangit_JiaoZiVideoPlayer | train |
6a3eac605c898e5cc8d714e416da9a6bdff43fbc | diff --git a/closure/bin/build/closurebuilder.py b/closure/bin/build/closurebuilder.py
index <HASH>..<HASH> 100755
--- a/closure/bin/build/closurebuilder.py
+++ b/closure/bin/build/closurebuilder.py
@@ -34,6 +34,7 @@ import logging
import optparse
import os
import sys
+import io
import depstree
import jscompiler... | Write bytes to stdout when using Python 3
Fixes "TypeError: can't concat bytes to str" | google_closure-library | train |
29e4287fd29e7bfb2d0c1c51322432af701225fb | diff --git a/tsdb/engine/tsm1/compact.go b/tsdb/engine/tsm1/compact.go
index <HASH>..<HASH> 100644
--- a/tsdb/engine/tsm1/compact.go
+++ b/tsdb/engine/tsm1/compact.go
@@ -37,13 +37,24 @@ const (
)
var (
- errMaxFileExceeded = fmt.Errorf("max file exceeded")
- errSnapshotsDisabled = fmt.Errorf("snapshots dis... | Preven masking root errors when compactions are in progress
The root error when creating a tmp file when writing a snapshot
was hidden making it difficult to determine why snapshots were
failing. | influxdata_influxdb | train |
5e5ef6c50060904447229b94279696d0ce0487ea | diff --git a/lib/db/mongodb/schemas/user.js b/lib/db/mongodb/schemas/user.js
index <HASH>..<HASH> 100644
--- a/lib/db/mongodb/schemas/user.js
+++ b/lib/db/mongodb/schemas/user.js
@@ -29,26 +29,8 @@ module.exports = (function(){
} );
- schema.virtual('identities.basic.password')
- .get(function ge... | Moved custom setter and getter out of the mongoose schema and updated name of auth method. | grasshopper-cms_grasshopper-core-nodejs | train |
6b49db749f532ebc5a7d3a6f622dbd8e575f608e | diff --git a/aws/resource_aws_instance.go b/aws/resource_aws_instance.go
index <HASH>..<HASH> 100644
--- a/aws/resource_aws_instance.go
+++ b/aws/resource_aws_instance.go
@@ -689,8 +689,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
stateConf := &resource.StateChangeConf{
Pen... | Update resource_aws_instance.go | terraform-providers_terraform-provider-aws | train |
2e0a8cbf588dcfe4ac900ee8d1ad0c762133d2cd | diff --git a/resources/views/multilingual/input-hidden-bread-edit-add.blade.php b/resources/views/multilingual/input-hidden-bread-edit-add.blade.php
index <HASH>..<HASH> 100644
--- a/resources/views/multilingual/input-hidden-bread-edit-add.blade.php
+++ b/resources/views/multilingual/input-hidden-bread-edit-add.blade.p... | Retain old values of input during Add. (#<I>)
Previously old values of multilingual input fields will not be "saved" during add if there are errors in the message bag. This changes will return the old values of multilingual input fields. | the-control-group_voyager | train |
38ef9a066c7082ee88b3b7166e01ce03a8b67bfd | diff --git a/builtin/credential/cert/backend_test.go b/builtin/credential/cert/backend_test.go
index <HASH>..<HASH> 100644
--- a/builtin/credential/cert/backend_test.go
+++ b/builtin/credential/cert/backend_test.go
@@ -1377,6 +1377,9 @@ func TestBackend_validCIDR(t *testing.T) {
}
readResult, err := b.HandleReque... | builtin/credential/cert: fix dropped test error (#<I>) | hashicorp_vault | train |
059c01e6b42e2d076517614f46f461ed915a75c9 | diff --git a/drools-compiler/src/test/java/org/drools/compiler/integrationtests/CepEspTest.java b/drools-compiler/src/test/java/org/drools/compiler/integrationtests/CepEspTest.java
index <HASH>..<HASH> 100644
--- a/drools-compiler/src/test/java/org/drools/compiler/integrationtests/CepEspTest.java
+++ b/drools-compiler/... | [DROOLS-7] fix test | kiegroup_drools | train |
9ddef6b4907dfad01ac4c31177538991de7d8afa | diff --git a/mkdocs_git_committers_plugin/plugin.py b/mkdocs_git_committers_plugin/plugin.py
index <HASH>..<HASH> 100644
--- a/mkdocs_git_committers_plugin/plugin.py
+++ b/mkdocs_git_committers_plugin/plugin.py
@@ -13,11 +13,11 @@ from github import Github
class GitCommittersPlugin(BasePlugin):
config_scheme = ... | remove `string_types`
A future new release of mkdocs would break this plugin because of the deprecated `string_types`.
See <URL> | byrnereese_mkdocs-git-committers-plugin | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.